fixes intrinsicGas

This commit is contained in:
andri lim 2019-08-26 23:18:56 +07:00
parent 7c094a2a3e
commit 54b56ca722
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 1 additions and 1 deletions

View File

@ -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