Skip to content

Commit f267e56

Browse files
fjlhowjmay
authored andcommitted
eth: initialize blobTxPool (ethereum#31992)
Fixes a regression introduced in ethereum#31791, see ethereum#31791 (comment)
1 parent f06e02f commit f267e56

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)