Skip to content

Commit

Permalink
fix: return val update in InitGenesis (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
catShaark authored Jan 21, 2024
1 parent 9124cbe commit 336fe08
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x/multi-staking/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,8 @@ func (am AppModule) RegisterServices(cfg module.Configurator) {
func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, data json.RawMessage) []abci.ValidatorUpdate {
var genesisState multistakingtypes.GenesisState
cdc.MustUnmarshalJSON(data, &genesisState)
am.keeper.InitGenesis(ctx, genesisState)

return []abci.ValidatorUpdate{}
return am.keeper.InitGenesis(ctx, genesisState)
}

// ExportGenesis export feeabs state as raw message for feeabs module
Expand Down

0 comments on commit 336fe08

Please sign in to comment.