mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-15 17:30:44 +00:00
core: fix typo in txpool (#25149)
Fix typo in txPool truncateQueue comment
This commit is contained in:
parent
77e2ad90cf
commit
7237811928
1 changed files with 1 additions and 1 deletions
|
|
@ -1618,7 +1618,7 @@ func (pool *TxPool) truncatePending() {
|
||||||
pendingRateLimitMeter.Mark(int64(pendingBeforeCap - pending))
|
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() {
|
func (pool *TxPool) truncateQueue() {
|
||||||
queued := uint64(0)
|
queued := uint64(0)
|
||||||
for _, list := range pool.queue {
|
for _, list := range pool.queue {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue