Skip to content

Commit 6315fd4

Browse files
authored
fix(txpool): basefee requires mintip to not be nil. (#297)
1 parent 882a6cd commit 6315fd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

miner/taiko_worker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func (w *worker) BuildTransactionsLists(
4444
}
4545

4646
// Check if tx pool is empty at first.
47-
if len(w.eth.TxPool().Pending(txpool.PendingFilter{BaseFee: uint256.MustFromBig(baseFee), OnlyPlainTxs: true})) == 0 {
47+
if len(w.eth.TxPool().Pending(txpool.PendingFilter{MinTip: uint256.NewInt(minTip), BaseFee: uint256.MustFromBig(baseFee), OnlyPlainTxs: true})) == 0 {
4848
return txsLists, nil
4949
}
5050

0 commit comments

Comments
 (0)