Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
iKapitonau committed Oct 15, 2024
1 parent c313a8c commit adb73a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/compute/internal/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
Expand Down

0 comments on commit adb73a5

Please sign in to comment.