aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJohn C. Vernaleo <john@netpurgatory.com>2018-06-13 15:14:15 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-06-13 15:14:15 +0800
commit8c4a7fa8d320be02c025d3f163ccf2e5ed0c2c5f (patch)
tree4dc0fdbd9417204cb4c8c96417ff48f3446ac15f /core
parent423d4254f53a9ff6c79b894a2c9199ba77ed87a0 (diff)
downloaddexon-8c4a7fa8d320be02c025d3f163ccf2e5ed0c2c5f.tar
dexon-8c4a7fa8d320be02c025d3f163ccf2e5ed0c2c5f.tar.gz
dexon-8c4a7fa8d320be02c025d3f163ccf2e5ed0c2c5f.tar.bz2
dexon-8c4a7fa8d320be02c025d3f163ccf2e5ed0c2c5f.tar.lz
dexon-8c4a7fa8d320be02c025d3f163ccf2e5ed0c2c5f.tar.xz
dexon-8c4a7fa8d320be02c025d3f163ccf2e5ed0c2c5f.tar.zst
dexon-8c4a7fa8d320be02c025d3f163ccf2e5ed0c2c5f.zip
core: change comment to match code more closely (#16963)
Diffstat (limited to 'core')
-rw-r--r--core/tx_pool.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tx_pool.go b/core/tx_pool.go
index b55c5e4d5..b0b55fcc2 100644
--- a/core/tx_pool.go
+++ b/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()