Skip to content

Commit

Permalink
var p types.Params
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Nov 6, 2023
1 parent d6fca16 commit 0c529b6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ func (k Keeper) SetParams(ctx sdk.Context, p types.Params) error {
}

// GetParams returns the current module parameters.
func (k Keeper) GetParams(ctx sdk.Context) (p types.Params) {
func (k Keeper) GetParams(ctx sdk.Context) types.Params {
var p types.Params

store := ctx.KVStore(k.storeKey)
bz := store.Get(types.ParamsKey)
if bz == nil {
Expand Down

0 comments on commit 0c529b6

Please sign in to comment.