mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
fix bug
This commit is contained in:
parent
d5636a0ca7
commit
c77ac20917
1 changed files with 1 additions and 1 deletions
|
|
@ -1035,7 +1035,7 @@ func (p *BlobPool) SetGasTip(tip *big.Int) {
|
||||||
nonces = make([]uint64, len(dropTxs))
|
nonces = make([]uint64, len(dropTxs))
|
||||||
)
|
)
|
||||||
for j, tx := range dropTxs {
|
for j, tx := range dropTxs {
|
||||||
p.spent[addr] = new(uint256.Int).Sub(p.spent[addr], txs[i].costCap)
|
p.spent[addr] = new(uint256.Int).Sub(p.spent[addr], tx.costCap)
|
||||||
p.stored -= uint64(tx.size)
|
p.stored -= uint64(tx.size)
|
||||||
delete(p.lookup, tx.hash)
|
delete(p.lookup, tx.hash)
|
||||||
ids[j], nonces[j] = tx.id, tx.nonce
|
ids[j], nonces[j] = tx.id, tx.nonce
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue