Skip to content

Commit

Permalink
fix RegisterMigration
Browse files Browse the repository at this point in the history
  • Loading branch information
bermuell committed May 30, 2024
1 parent 6c002a5 commit c246fc2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions x/ccv/provider/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,6 @@ func (am AppModule) RegisterServices(cfg module.Configurator) {
if err := cfg.RegisterMigration(providertypes.ModuleName, 4, migrator.Migrate4to5); err != nil {
panic(fmt.Sprintf("failed to register migrator for %s: %s -- from 4 -> 5", providertypes.ModuleName, err))
}
if err := cfg.RegisterMigration(providertypes.ModuleName, 4, migrator.Migrate4to5); err != nil {
panic(fmt.Sprintf("failed to register migrator for %s: %s", providertypes.ModuleName, err))
}
if err := cfg.RegisterMigration(providertypes.ModuleName, 5, migrator.Migrate5to6); err != nil {
panic(fmt.Sprintf("failed to register migrator for %s: %s", providertypes.ModuleName, err))
}
Expand Down

0 comments on commit c246fc2

Please sign in to comment.