mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
feat(worker): disable enforceTips when fetching pending transactions (#947)
This commit is contained in:
parent
e9fec8fcb4
commit
f6a030ccad
1 changed files with 1 additions and 1 deletions
|
|
@ -1426,7 +1426,7 @@ func (w *worker) fillTransactions(interrupt *atomic.Int32, env *environment) err
|
||||||
}
|
}
|
||||||
|
|
||||||
tidyPendingStart := time.Now()
|
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.
|
// Split the pending transactions into locals and remotes.
|
||||||
localTxs, remoteTxs := make(map[common.Address][]*txpool.LazyTransaction), pending
|
localTxs, remoteTxs := make(map[common.Address][]*txpool.LazyTransaction), pending
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue