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…
Reference in New Issue