Skip to content

Commit

Permalink
chore: fix typo (#4237)
Browse files Browse the repository at this point in the history
parans - params
  • Loading branch information
futreall authored Jan 17, 2025
1 parent f21716b commit 1b4447d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/util/genesis/modifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ func SetBlobParams(codec codec.Codec, params blobtypes.Params) Modifier {
}

// SetSlashingParams will set the provided slashing params as genesis state.
func SetSlashingParams(codec codec.Codec, parans slashingtypes.Params) Modifier {
func SetSlashingParams(codec codec.Codec, params slashingtypes.Params) Modifier {
return func(state map[string]json.RawMessage) map[string]json.RawMessage {
slashingGenState := slashingtypes.DefaultGenesisState()
slashingGenState.Params = parans
slashingGenState.Params = params
state[slashingtypes.ModuleName] = codec.MustMarshalJSON(slashingGenState)
return state
}
Expand Down

0 comments on commit 1b4447d

Please sign in to comment.