mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
fix rebase issue
Signed-off-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
This commit is contained in:
parent
f4e0f1bc46
commit
69068cd35b
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ func (ae *AccessEvents) ValueTransferGas(callerAddr, targetAddr common.Address,
|
||||||
return expected1
|
return expected1
|
||||||
}
|
}
|
||||||
_, expected2 := ae.touchAddressAndChargeGas(targetAddr, zeroTreeIndex, utils.BasicDataLeafKey, true, availableGas-expected1)
|
_, expected2 := ae.touchAddressAndChargeGas(targetAddr, zeroTreeIndex, utils.BasicDataLeafKey, true, availableGas-expected1)
|
||||||
if expected1+expected2 > availableGas {
|
if expected1+expected2 == 0 {
|
||||||
return params.WarmStorageReadCostEIP2929
|
return params.WarmStorageReadCostEIP2929
|
||||||
}
|
}
|
||||||
return expected1 + expected2
|
return expected1 + expected2
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue