mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-26 10:55:41 +00:00
fixes intrinsicGas
This commit is contained in:
parent
7c094a2a3e
commit
54b56ca722
@ -27,7 +27,7 @@ proc intrinsicGas*(tx: Transaction, fork: Fork): GasInt =
|
||||
result = tx.payload.intrinsicGas
|
||||
|
||||
if tx.isContractCreation:
|
||||
result = result - gasFees[fork][GasTXCreate]
|
||||
result = result + gasFees[fork][GasTXCreate]
|
||||
|
||||
proc validate*(t: Transaction, fork: Fork) =
|
||||
# Hook called during instantiation to ensure that all transaction
|
||||
|
Loading…
x
Reference in New Issue
Block a user