core: fix typo in txpool (#25149)

Fix typo in txPool truncateQueue comment
This commit is contained in:
aaronbuchwald 2022-06-22 16:51:45 -04:00 committed by GitHub
parent 7c7cd410d1
commit 68420e1aa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 {