Skip to content

Commit

Permalink
add getFeePool
Browse files Browse the repository at this point in the history
  • Loading branch information
skyargos committed Jan 6, 2025
1 parent eb1a8e8 commit 0725d62
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions x/distribution/keeper/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -437,3 +437,8 @@ func (k Keeper) DeleteAllValidatorSlashEvents(ctx context.Context) {
store.Delete(iter.Key())
}
}

// GetFeePool get the global fee pool distribution info
func (k Keeper) GetFeePool(ctx context.Context) (types.FeePool, error) {
return k.FeePool.Get(ctx)
}

0 comments on commit 0725d62

Please sign in to comment.