mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Revert "core/txpool/blobpool: remove error log when finalized block is nil (#27822)"
This reverts commit 96cb2894b4.
This commit is contained in:
parent
166e2c09a6
commit
fecc624654
1 changed files with 2 additions and 3 deletions
|
|
@ -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
|
// 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(misc.CalcBaseFee(p.chain.Config(), newHead))
|
basefee = uint256.MustFromBig(misc.CalcBaseFee(p.chain.Config(), newHead))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue