diff --git a/core/bloombits/matcher.go b/core/bloombits/matcher.go index f2a8bda17c..49ed8d4dfd 100644 --- a/core/bloombits/matcher.go +++ b/core/bloombits/matcher.go @@ -634,7 +634,7 @@ func (s *MatcherSession) Multiplex(batch int, wait time.Duration, mux chan chan s.errLock.Lock() s.err = result.Error s.errLock.Unlock() - s.Close() + //s.Close() } s.deliverSections(result.Bit, result.Sections, result.Bitsets) } diff --git a/eth/backend.go b/eth/backend.go index b08dcea61b..22be2ef961 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -224,7 +224,9 @@ func New(stack *node.Node, config *ethconfig.Config) (*Ethereum, error) { eth.blockchain.SetHead(compat.RewindTo) rawdb.WriteChainConfig(chainDb, genesisHash, chainConfig) } - eth.bloomIndexer.Start(eth.blockchain) + if !config.AncientPrune { + eth.bloomIndexer.Start(eth.blockchain) + } if config.TxPool.Journal != "" { config.TxPool.Journal = stack.ResolvePath(config.TxPool.Journal)