Skip to content

Commit b106724

Browse files
aaronbuchwaldblakehhuynh
authored andcommitted
core: fix typo in txpool (ethereum#25149)
Fix typo in txPool truncateQueue comment
1 parent 77b4bc5 commit b106724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/tx_pool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1459,7 +1459,7 @@ func (pool *TxPool) truncatePending() {
14591459
pendingRateLimitMeter.Mark(int64(pendingBeforeCap - pending))
14601460
}
14611461

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

0 commit comments

Comments
 (0)