mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-17 18:30:45 +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++
|
nilSlot++
|
||||||
}
|
}
|
||||||
errs[nilSlot] = err
|
errs[nilSlot] = err
|
||||||
|
nilSlot++
|
||||||
}
|
}
|
||||||
// Reorg the pool internals if needed and return
|
// Reorg the pool internals if needed and return
|
||||||
done := pool.requestPromoteExecutables(dirtyAddrs)
|
done := pool.requestPromoteExecutables(dirtyAddrs)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue