Skip to content

Commit

Permalink
Revert "core/txpool/blobpool: remove error log when finalized block i…
Browse files Browse the repository at this point in the history
…s nil (ethereum#27822)"

This reverts commit 96cb289.
  • Loading branch information
devopsbo3 committed Nov 10, 2023
1 parent 166e2c0 commit fecc624
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/txpool/blobpool/blobpool.go
Expand Up @@ -768,9 +768,8 @@ func (p *BlobPool) Reset(oldHead, newHead *types.Header) {
}
}
// 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
var (
basefee = uint256.MustFromBig(misc.CalcBaseFee(p.chain.Config(), newHead))
Expand Down

0 comments on commit fecc624

Please sign in to comment.