mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2025-01-08 19:51:21 +00:00
core: fix txpool off-by-one error (#21683)
This commit is contained in:
parent
0a64615f1e
commit
ad3ff6452d
@ -814,6 +814,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