mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 05:36:46 +00:00
Restore the code
This commit is contained in:
parent
f28a4db105
commit
80d40dbaf7
1 changed files with 3 additions and 1 deletions
|
|
@ -831,7 +831,9 @@ func (p *BlobPool) Reset(oldHead, newHead *types.Header) {
|
|||
}
|
||||
}
|
||||
// Flush out any blobs from limbo that are older than the latest finality
|
||||
p.limbo.finalize(p.chain.CurrentFinalBlock())
|
||||
if p.chain.Config().IsCancun(p.head.Number, p.head.Time) {
|
||||
p.limbo.finalize(p.chain.CurrentFinalBlock())
|
||||
}
|
||||
|
||||
// Reset the price heap for the new set of basefee/blobfee pairs
|
||||
var (
|
||||
|
|
|
|||
Loading…
Reference in a new issue