From f6a030ccada1bf8ac068496fb66b7335f4e88fd8 Mon Sep 17 00:00:00 2001 From: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com> Date: Wed, 31 Jul 2024 21:23:00 +0800 Subject: [PATCH] feat(worker): disable enforceTips when fetching pending transactions (#947) --- miner/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miner/worker.go b/miner/worker.go index f80a999de5..019317514e 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -1426,7 +1426,7 @@ func (w *worker) fillTransactions(interrupt *atomic.Int32, env *environment) err } tidyPendingStart := time.Now() - pending := w.eth.TxPool().PendingWithMax(true, w.config.MaxAccountsNum) + pending := w.eth.TxPool().PendingWithMax(false, w.config.MaxAccountsNum) // Split the pending transactions into locals and remotes. localTxs, remoteTxs := make(map[common.Address][]*txpool.LazyTransaction), pending