From adb73a5ff3c0bacdaee4ae7a5afae57aaad4676a Mon Sep 17 00:00:00 2001 From: Ilya Raykker Date: Tue, 15 Oct 2024 09:34:29 +0200 Subject: [PATCH] Fix linter errors --- x/compute/internal/keeper/keeper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/compute/internal/keeper/keeper.go b/x/compute/internal/keeper/keeper.go index d3d1b16b9..e3522e355 100644 --- a/x/compute/internal/keeper/keeper.go +++ b/x/compute/internal/keeper/keeper.go @@ -1614,7 +1614,7 @@ func (k Keeper) appendToContractHistory(ctx sdk.Context, contractAddr sdk.AccAdd for _, e := range newEntries { pos++ key := types.GetContractCodeHistoryElementKey(contractAddr, pos) - err := store.Set(key, k.cdc.MustMarshal(&e)) //nolint:gosec + err := store.Set(key, k.cdc.MustMarshal(&e)) if err != nil { ctx.Logger().Error("appendToContractHistory:", err.Error()) }