Skip to content

Commit

Permalink
Update core/tx_pool.go
Browse files Browse the repository at this point in the history
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>
  • Loading branch information
georgehao and colinlyguo authored Sep 23, 2024
1 parent c79ee45 commit cf6e4cf
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 @@ -431,7 +431,7 @@ func (pool *TxPool) loop() {
if time.Since(pool.beats[addr]) > pool.config.Lifetime {
list := pool.queue[addr].Flatten()
for _, tx := range list {
log.Info("evict tx for timeout", "tx", tx.Hash().String())
log.Info("evict queue tx for timeout", "tx", tx.Hash().String())
pool.removeTx(tx.Hash(), true)
}
queuedEvictionMeter.Mark(int64(len(list)))
Expand Down

0 comments on commit cf6e4cf

Please sign in to comment.