Skip to content

Commit 2275e46

Browse files
committed
core/txpool/blobpool: migrate billy if osaka is scheduled, not just active
1 parent ebb2a43 commit 2275e46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/txpool/blobpool/blobpool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ func (p *BlobPool) Init(gasTip uint64, head *types.Header, reserver txpool.Reser
402402
slotter := newSlotter(eip4844.LatestMaxBlobsPerBlock(p.chain.Config()))
403403

404404
// Check if we need to migrate our blob db to the new slotter.
405-
if p.chain.Config().IsOsaka(head.Number, head.Time) {
405+
if p.chain.Config().OsakaTime != nil {
406406
// Open the store using the version slotter to see if any version has been
407407
// written.
408408
var version int

0 commit comments

Comments
 (0)