core/txpool/blobpool: correct blobpool datadir

This commit is contained in:
Gary Rong 2025-09-15 11:45:32 +08:00
parent e6ea290f8e
commit 2e37dd81af

View file

@ -398,12 +398,11 @@ func (p *BlobPool) Init(gasTip uint64, head *types.Header, reserver txpool.Reser
// Create new slotter for pre-Osaka blob configuration. // Create new slotter for pre-Osaka blob configuration.
slotter := newSlotter(eip4844.LatestMaxBlobsPerBlock(p.chain.Config())) slotter := newSlotter(eip4844.LatestMaxBlobsPerBlock(p.chain.Config()))
// See if we need to migrate the limbo after fusaka. // See if we need to migrate the queue blob store after fusaka
slotter, err = tryMigrate(p.chain.Config(), slotter, p.config.Datadir) slotter, err = tryMigrate(p.chain.Config(), slotter, queuedir)
if err != nil { if err != nil {
return err return err
} }
// Index all transactions on disk and delete anything unprocessable // Index all transactions on disk and delete anything unprocessable
var fails []uint64 var fails []uint64
index := func(id uint64, size uint32, blob []byte) { index := func(id uint64, size uint32, blob []byte) {