From 859308c03fef52b927e0ac52a868e7c5f8fb7535 Mon Sep 17 00:00:00 2001 From: Daniel Liu Date: Wed, 8 May 2024 12:53:19 +0800 Subject: [PATCH] core: change comment to match code more closely (#16963) --- core/tx_pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tx_pool.go b/core/tx_pool.go index 180d245f9492..d7c4a7ffd4ed 100644 --- a/core/tx_pool.go +++ b/core/tx_pool.go @@ -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()