refactor: Rename clientCtx to ctx in distr params.go (#15453)

This commit is contained in:
Puneet
2023-03-19 13:22:41 +00:00
committed by GitHub
parent ac345ce694
commit bf85bfbf4d
+2 -2
View File
@@ -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