Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 65ad929

Browse files
aaronbuchwaldgzliudan
authored andcommittedSep 23, 2024
core: fix typo in txpool (ethereum#25149)
Fix typo in txPool truncateQueue comment
1 parent 7584e9a commit 65ad929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎core/tx_pool.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1618,7 +1618,7 @@ func (pool *TxPool) truncatePending() {
16181618
pendingRateLimitMeter.Mark(int64(pendingBeforeCap - pending))
16191619
}
16201620

1621-
// truncateQueue drops the oldes transactions in the queue if the pool is above the global queue limit.
1621+
// truncateQueue drops the oldest transactions in the queue if the pool is above the global queue limit.
16221622
func (pool *TxPool) truncateQueue() {
16231623
queued := uint64(0)
16241624
for _, list := range pool.queue {

0 commit comments

Comments
 (0)
Please sign in to comment.