Revert changes done via RONG :)

This commit is contained in:
blazejkrzak 2025-08-18 13:13:43 +02:00
parent 85077be58e
commit 3d4244bfc1

View file

@ -831,9 +831,8 @@ func (p *BlobPool) Reset(oldHead, newHead *types.Header) {
} }
} }
// Flush out any blobs from limbo that are older than the latest finality // Flush out any blobs from limbo that are older than the latest finality
if p.chain.Config().IsCancun(p.head.Number, p.head.Time) {
p.limbo.finalize(p.chain.CurrentFinalBlock()) p.limbo.finalize(p.chain.CurrentFinalBlock())
}
// Reset the price heap for the new set of basefee/blobfee pairs // Reset the price heap for the new set of basefee/blobfee pairs
var ( var (
basefee = uint256.MustFromBig(eip1559.CalcBaseFee(p.chain.Config(), newHead)) basefee = uint256.MustFromBig(eip1559.CalcBaseFee(p.chain.Config(), newHead))