Skip to content

Commit 9fe1bb8

Browse files
author
colinlyguo
committed
fix a bug
1 parent 947600f commit 9fe1bb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/tx_pool.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ func (pool *TxPool) loop() {
432432
list := pool.queue[addr].Flatten()
433433
for _, tx := range list {
434434
log.Trace("Evicting transaction due to timeout", "account", addr.Hex(), "tx_hash", tx.Hash().Hex(), "lifetime_sec", time.Since(pool.beats[addr]).Seconds(), "lifetime_limit_sec", pool.config.Lifetime.Seconds())
435+
pool.removeTx(tx.Hash(), true)
435436
}
436437
queuedEvictionMeter.Mark(int64(len(list)))
437438
}

0 commit comments

Comments
 (0)