Skip to content

Commit 3148f7f

Browse files
committed
chore: pacify linter
1 parent ac60de1 commit 3148f7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/vm/contracts.libevm_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ func TestCanCreateContract(t *testing.T) {
348348
_, _, gasRemaining, err := tt.create(evm)
349349
require.EqualError(t, err, tt.wantErr.Error())
350350
// require prints uint64s in hex
351-
require.Equal(t, int(gasLimit-gasUsage), int(gasRemaining), "gas remaining")
351+
require.Equal(t, int(gasLimit-gasUsage), int(gasRemaining), "gas remaining") //nolint:gosec // G115 won't overflow as <= 1e6
352352
})
353353
}
354354
}

0 commit comments

Comments
 (0)