Unverified Commit 68420e1a authored by aaronbuchwald's avatar aaronbuchwald Committed by GitHub

core: fix typo in txpool (#25149)

Fix typo in txPool truncateQueue comment
parent 7c7cd410
......@@ -1459,7 +1459,7 @@ func (pool *TxPool) truncatePending() {
pendingRateLimitMeter.Mark(int64(pendingBeforeCap - pending))
}
// truncateQueue drops the oldes transactions in the queue if the pool is above the global queue limit.
// truncateQueue drops the oldest transactions in the queue if the pool is above the global queue limit.
func (pool *TxPool) truncateQueue() {
queued := uint64(0)
for _, list := range pool.queue {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment