Skip to content

Commit

Permalink
core: change comment to match code more closely (ethereum#16963)
Browse files Browse the repository at this point in the history
  • Loading branch information
gzliudan committed May 9, 2024
1 parent 4f0f6e0 commit 859308c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tx_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,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()
Expand Down

0 comments on commit 859308c

Please sign in to comment.