Skip to content

Commit f6a030c

Browse files
feat(worker): disable enforceTips when fetching pending transactions (#947)
1 parent e9fec8f commit f6a030c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

miner/worker.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1426,7 +1426,7 @@ func (w *worker) fillTransactions(interrupt *atomic.Int32, env *environment) err
14261426
}
14271427
14281428
tidyPendingStart := time.Now()
1429-
pending := w.eth.TxPool().PendingWithMax(true, w.config.MaxAccountsNum)
1429+
pending := w.eth.TxPool().PendingWithMax(false, w.config.MaxAccountsNum)
14301430
14311431
// Split the pending transactions into locals and remotes.
14321432
localTxs, remoteTxs := make(map[common.Address][]*txpool.LazyTransaction), pending

0 commit comments

Comments
 (0)