mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-20 05:41:35 +00:00
core: fix txpool off-by-one error (#21683)
This commit is contained in:
parent
6935687790
commit
a6d591b01b
1 changed files with 1 additions and 0 deletions
|
|
@ -966,6 +966,7 @@ func (pool *TxPool) addTxs(txs []*types.Transaction, local, sync bool) []error {
|
|||
nilSlot++
|
||||
}
|
||||
errs[nilSlot] = err
|
||||
nilSlot++
|
||||
}
|
||||
// Reorg the pool internals if needed and return
|
||||
done := pool.requestPromoteExecutables(dirtyAddrs)
|
||||
|
|
|
|||
Loading…
Reference in a new issue