mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
remove pending pool tx
This commit is contained in:
parent
eb9bfb4370
commit
1873790f12
1 changed files with 2 additions and 1 deletions
|
|
@ -889,7 +889,8 @@ func (pool *LegacyPool) promoteTx(addr common.Address, hash common.Hash, tx *typ
|
|||
if list.totalcost.Cmp(balance) > 0 {
|
||||
pool.all.Remove(hash)
|
||||
pool.priced.Removed(1)
|
||||
pendingDiscardMeter.Mark(1)
|
||||
pool.pending[addr].Remove(tx)
|
||||
// pendingDiscardMeter.Mark(1)
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue