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

This commit is contained in:
Puneet 2023-03-19 17:22:41 +04:00 committed by GitHub
parent ac345ce694
commit bf85bfbf4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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