mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-30 16:43:46 +00:00
fix(txpool): basefee requires mintip to not be nil. (#297)
This commit is contained in:
parent
882a6cd329
commit
6315fd4969
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ func (w *worker) BuildTransactionsLists(
|
|||
}
|
||||
|
||||
// Check if tx pool is empty at first.
|
||||
if len(w.eth.TxPool().Pending(txpool.PendingFilter{BaseFee: uint256.MustFromBig(baseFee), OnlyPlainTxs: true})) == 0 {
|
||||
if len(w.eth.TxPool().Pending(txpool.PendingFilter{MinTip: uint256.NewInt(minTip), BaseFee: uint256.MustFromBig(baseFee), OnlyPlainTxs: true})) == 0 {
|
||||
return txsLists, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue