Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sin3A committed Jul 24, 2024
1 parent 0aaf460 commit cc544d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/node/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ type Keeper struct {
hooks staking.StakingHooks
}

func NewKeeper(cdc codec.Codec, storeKey storetypes.StoreKey, ps paramtypes.Subspace) Keeper {
func NewKeeper(cdc codec.Codec, storeKey storetypes.StoreKey, ps paramtypes.Subspace) *Keeper {
// set KeyTable if it has not already been set
if !ps.HasKeyTable() {
ps = ps.WithKeyTable(ParamKeyTable())
}

return Keeper{
return &Keeper{
cdc: cdc,
storeKey: storeKey,
paramstore: ps,
Expand Down

0 comments on commit cc544d3

Please sign in to comment.