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

This commit is contained in:
John C. Vernaleo 2018-06-13 03:14:15 -04:00 committed by Péter Szilágyi
parent 423d4254f5
commit 8c4a7fa8d3
1 changed files with 1 additions and 1 deletions

View File

@ -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()