mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-23 01:08:26 +00:00
txpool: fix eip1559TxNormalization bug
This commit is contained in:
parent
61d7a9acea
commit
00e2ec7d38
@ -187,7 +187,7 @@ func eip1559TxNormalization*(tx: Transaction;
|
||||
result.maxPriorityFee = tx.gasPrice
|
||||
result.maxFee = tx.gasPrice
|
||||
if FkLondon <= fork:
|
||||
result.gasPrice = min(tx.maxPriorityFee + baseFee.int64, tx.maxFee)
|
||||
result.gasPrice = min(result.maxPriorityFee + baseFee.int64, result.maxFee)
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# Public functionss
|
||||
|
Loading…
x
Reference in New Issue
Block a user