forked from cerc-io/plugeth
core: fix txpool off-by-one error (#21683)
This commit is contained in:
parent
19a1c95046
commit
706f5e3b98
@ -817,6 +817,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 New Issue
Block a user