Skip to content

Commit 69068cd

Browse files
committed
fix rebase issue
Signed-off-by: Guillaume Ballet <[email protected]>
1 parent f4e0f1b commit 69068cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/state/access_events.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func (ae *AccessEvents) ValueTransferGas(callerAddr, targetAddr common.Address,
127127
return expected1
128128
}
129129
_, expected2 := ae.touchAddressAndChargeGas(targetAddr, zeroTreeIndex, utils.BasicDataLeafKey, true, availableGas-expected1)
130-
if expected1+expected2 > availableGas {
130+
if expected1+expected2 == 0 {
131131
return params.WarmStorageReadCostEIP2929
132132
}
133133
return expected1 + expected2

0 commit comments

Comments
 (0)