core: change comment to match code more closely (#16963)

pull/16967/merge
John C. Vernaleo 6 years ago committed by Péter Szilágyi
parent 423d4254f5
commit 8c4a7fa8d3
  1. 2
      core/tx_pool.go

@ -1107,7 +1107,7 @@ func (pool *TxPool) demoteUnexecutables() {
log.Trace("Demoting pending transaction", "hash", hash)
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 {
for _, tx := range list.Cap(0) {
hash := tx.Hash()

Loading…
Cancel
Save