Skip to content

Commit

Permalink
core: fix typo in txpool (ethereum#25149)
Browse files Browse the repository at this point in the history
Fix typo in txPool truncateQueue comment
  • Loading branch information
aaronbuchwald authored and jagdeep sidhu committed Jul 4, 2022
1 parent b23aa80 commit 7adced2
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 @@ -1469,7 +1469,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 {
Expand Down

0 comments on commit 7adced2

Please sign in to comment.