core: change comment to match code more closely (#16963)
This commit is contained in:
parent
423d4254f5
commit
8c4a7fa8d3
@ -1107,7 +1107,7 @@ func (pool *TxPool) demoteUnexecutables() {
|
|||||||
log.Trace("Demoting pending transaction", "hash", hash)
|
log.Trace("Demoting pending transaction", "hash", hash)
|
||||||
pool.enqueueTx(hash, tx)
|
pool.enqueueTx(hash, tx)
|
||||||
}
|
}
|
||||||
// If there's a gap in front, warn (should never happen) and postpone all transactions
|
// If there's a gap in front, alert (should never happen) and postpone all transactions
|
||||||
if list.Len() > 0 && list.txs.Get(nonce) == nil {
|
if list.Len() > 0 && list.txs.Get(nonce) == nil {
|
||||||
for _, tx := range list.Cap(0) {
|
for _, tx := range list.Cap(0) {
|
||||||
hash := tx.Hash()
|
hash := tx.Hash()
|
||||||
|
Loading…
Reference in New Issue
Block a user