Skip to content

Commit

Permalink
chore: helper func for setting protocol keeper
Browse files Browse the repository at this point in the history
  • Loading branch information
johnletey committed May 23, 2023
1 parent d382172 commit 9d1f351
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions x/gov/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ func NewKeeper(
}
}

// SetProtocolStakingKeeper ...
func (keeper *Keeper) SetProtocolStakingKeeper(protocolStakingKeeper types.ProtocolStakingKeeper) {
keeper.protocolStakingKeeper = protocolStakingKeeper
}

// Hooks gets the hooks for governance *Keeper {
func (keeper *Keeper) Hooks() types.GovHooks {
if keeper.hooks == nil {
Expand Down

0 comments on commit 9d1f351

Please sign in to comment.