mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-12 06:53:46 +00:00
fix bloombits deadlock
This commit is contained in:
parent
f10e1740ad
commit
b3acf83e33
1 changed files with 1 additions and 3 deletions
|
|
@ -224,9 +224,7 @@ func New(stack *node.Node, config *ethconfig.Config) (*Ethereum, error) {
|
||||||
eth.blockchain.SetHead(compat.RewindTo)
|
eth.blockchain.SetHead(compat.RewindTo)
|
||||||
rawdb.WriteChainConfig(chainDb, genesisHash, chainConfig)
|
rawdb.WriteChainConfig(chainDb, genesisHash, chainConfig)
|
||||||
}
|
}
|
||||||
if !config.AncientPrune {
|
eth.bloomIndexer.Start(eth.blockchain)
|
||||||
eth.bloomIndexer.Start(eth.blockchain)
|
|
||||||
}
|
|
||||||
|
|
||||||
if config.TxPool.Journal != "" {
|
if config.TxPool.Journal != "" {
|
||||||
config.TxPool.Journal = stack.ResolvePath(config.TxPool.Journal)
|
config.TxPool.Journal = stack.ResolvePath(config.TxPool.Journal)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue