Skip to content

Commit

Permalink
fix: don't use naked return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Nov 6, 2023
1 parent a9f35db commit 0067669
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/async-icq/keeper/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,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 0067669

Please sign in to comment.