mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 05:06:43 +00:00
core/txpool/blobpool: fix fork boundary condition
This commit is contained in:
parent
de75c79fe4
commit
c32250a666
1 changed files with 1 additions and 1 deletions
|
|
@ -884,7 +884,7 @@ func (p *BlobPool) Reset(oldHead, newHead *types.Header) {
|
||||||
blobfeeGauge.Update(int64(blobfee.Uint64()))
|
blobfeeGauge.Update(int64(blobfee.Uint64()))
|
||||||
p.updateStorageMetrics()
|
p.updateStorageMetrics()
|
||||||
|
|
||||||
if p.chain.Config().IsOsaka(newHead.Number, newHead.Time) {
|
if !p.chain.Config().IsOsaka(oldHead.Number, oldHead.Time) && p.chain.Config().IsOsaka(newHead.Number, newHead.Time) {
|
||||||
txs := make(map[common.Address]map[common.Hash]uint64)
|
txs := make(map[common.Address]map[common.Hash]uint64)
|
||||||
for address, list := range p.index {
|
for address, list := range p.index {
|
||||||
txs[address] = make(map[common.Hash]uint64)
|
txs[address] = make(map[common.Hash]uint64)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue