simplify indexer service main loop

This commit is contained in:
Anton Kaliaev
2018-05-14 11:10:59 +04:00
parent 6f7333fd5f
commit 5e3a23df6d
2 changed files with 12 additions and 19 deletions

View File

@ -343,6 +343,7 @@ func NewNode(config *cfg.Config,
}
indexerService := txindex.NewIndexerService(txIndexer, eventBus)
indexerService.SetLogger(logger.With("module", "txindex"))
// run the profile server
profileHost := config.ProfListenAddress