Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
jhernandezb committed Oct 17, 2023
1 parent c181f5c commit 2a788ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (app *App) RegisterUpgradeHandlers(cfg module.Configurator) {
keyTable = icacontrollertypes.ParamKeyTable()
// wasm
case wasmtypes.ModuleName:
keyTable = wasmtypes.ParamKeyTable() //nolint:staticcheck
keyTable = wasmtypes.ParamKeyTable() //nolint

// stargaze modules
case alloctypes.ModuleName:
Expand Down
4 changes: 2 additions & 2 deletions x/globalfee/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ func (k msgServer) UpdateParams(goCtx context.Context, msg *types.MsgUpdateParam
return nil, err
}

k.SetParams(ctx, msg.GetParams())
err = k.SetParams(ctx, msg.GetParams())

return &types.MsgUpdateParamsResponse{}, nil
return &types.MsgUpdateParamsResponse{}, err
}

func (k msgServer) isAuthorized(ctx sdk.Context, actor string) bool {
Expand Down

0 comments on commit 2a788ba

Please sign in to comment.