Skip to content

Commit

Permalink
add getFeePool
Browse files Browse the repository at this point in the history
  • Loading branch information
skyargos committed Oct 16, 2024
1 parent c64d101 commit b727977
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 b727977

Please sign in to comment.