Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
GNaD13 committed Feb 1, 2024
1 parent 2815270 commit d164330
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/upgrades/multi-staking/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,14 @@ func CreateUpgradeHandler(
panic(err)
}

vm[multistakingtypes.ModuleName] = multistaking.AppModule{}.ConsensusVersion()
mm.Modules[multistakingtypes.ModuleName].InitGenesis(ctx, cdc, appState[multistakingtypes.ModuleName])
ak.GetModuleAccount(ctx, multistakingtypes.ModuleName)

// migrate bank
migrateBank(ctx, bk)

vm[multistakingtypes.ModuleName] = multistaking.AppModule{}.ConsensusVersion()
mm.Modules[multistakingtypes.ModuleName].InitGenesis(ctx, cdc, appState[multistakingtypes.ModuleName])

return mm.RunMigrations(ctx, configurator, vm)
}
}
Expand Down

0 comments on commit d164330

Please sign in to comment.