From bf85bfbf4df7c35cbfccdd86dc79f183541ee333 Mon Sep 17 00:00:00 2001 From: Puneet <59960662+puneet2019@users.noreply.github.com> Date: Sun, 19 Mar 2023 17:22:41 +0400 Subject: [PATCH] refactor: Rename clientCtx to ctx in distr params.go (#15453) --- x/distribution/keeper/params.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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