Update legacypool.go
Remove the latent overdraft tx in pending pool.
This commit is contained in:
parent
8b4f4e841e
commit
e58b3ddfce
|
@ -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)
|
||||
// pendingDiscardMeter.Mark(1)
|
||||
pool.pending[addr].Remove(tx)
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue