diff --git a/x/distribution/keeper/params.go b/x/distribution/keeper/params.go index f5c18602d5..278ec4c1bd 100644 --- a/x/distribution/keeper/params.go +++ b/x/distribution/keeper/params.go @@ -8,8 +8,8 @@ import ( ) // GetParams returns the total set of distribution parameters. -func (k Keeper) GetParams(clientCtx sdk.Context) (params types.Params) { - store := clientCtx.KVStore(k.storeKey) +func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) { + store := ctx.KVStore(k.storeKey) bz := store.Get(types.ParamsKey) if bz == nil { return params