From 50d0f8663ac5dea395cb030b72ad7e45f1ad96ae Mon Sep 17 00:00:00 2001 From: john xu Date: Thu, 8 Aug 2024 14:22:12 +0800 Subject: [PATCH] fix(txpool): basefee requires mintip to not be null. --- miner/taiko_worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miner/taiko_worker.go b/miner/taiko_worker.go index 12bfea0efe1e..82f6624c1b9e 100644 --- a/miner/taiko_worker.go +++ b/miner/taiko_worker.go @@ -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 }