refactor: Rename clientCtx to ctx in distr params.go (#15453)
This commit is contained in:
parent
ac345ce694
commit
bf85bfbf4d
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user