finalize rebase
This commit is contained in:
parent
a766e0f2d9
commit
2b3630eb6b
|
@ -21,7 +21,7 @@ func DefaultGenesisState() GenesisState {
|
|||
// and the keeper's address to pubkey map
|
||||
func InitGenesis(ctx sdk.Context, keeper Keeper, data GenesisState, sdata types.GenesisState) {
|
||||
for _, validator := range sdata.Validators {
|
||||
keeper.addPubkey(ctx, validator.GetPubKey())
|
||||
keeper.addPubkey(ctx, validator.GetConsPubKey())
|
||||
}
|
||||
|
||||
keeper.paramstore.SetStruct(ctx, &data.Params)
|
||||
|
|
Loading…
Reference in New Issue