Skip to content

Commit 7ec493f

Browse files
authored
eth: initialize blobTxPool (#31992)
Fixes a regression introduced in #31791, see #31791 (comment)
1 parent 08a03c7 commit 7ec493f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eth/backend.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,9 @@ func New(stack *node.Node, config *ethconfig.Config) (*Ethereum, error) {
285285
if config.BlobPool.Datadir != "" {
286286
config.BlobPool.Datadir = stack.ResolvePath(config.BlobPool.Datadir)
287287
}
288-
blobPool := blobpool.New(config.BlobPool, eth.blockchain, legacyPool.HasPendingAuth)
288+
eth.blobTxPool = blobpool.New(config.BlobPool, eth.blockchain, legacyPool.HasPendingAuth)
289289

290-
eth.txPool, err = txpool.New(config.TxPool.PriceLimit, eth.blockchain, []txpool.SubPool{legacyPool, blobPool})
290+
eth.txPool, err = txpool.New(config.TxPool.PriceLimit, eth.blockchain, []txpool.SubPool{legacyPool, eth.blobTxPool})
291291
if err != nil {
292292
return nil, err
293293
}

0 commit comments

Comments
 (0)