Skip to content

Commit

Permalink
sh -> gh
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnya97 committed Apr 17, 2021
1 parent 8504408 commit 11114bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x/gov/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ func NewKeeper(
}

// SetHooks sets the hooks for governance
func (keeper *Keeper) SetHooks(sh types.GovHooks) *Keeper {
func (keeper *Keeper) SetHooks(gh types.GovHooks) *Keeper {
if keeper.hooks != nil {
panic("cannot set validator hooks twice")
panic("cannot set governance hooks twice")
}

keeper.hooks = sh
keeper.hooks = gh

return keeper
}
Expand Down

0 comments on commit 11114bc

Please sign in to comment.