Skip to content

Commit

Permalink
build chain indexer API
Browse files Browse the repository at this point in the history
  • Loading branch information
aarshkshah1992 committed Sep 17, 2024
1 parent 127b144 commit 05b84ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/builder_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,9 @@ func ConfigFullNode(c interface{}) Option {

ApplyIf(isFullNode,
Override(new(index.Indexer), modules.ChainIndexer(cfg.ChainIndexer)),
Override(new(full.ChainIndexerAPI), modules.ChainIndexHandler(cfg.ChainIndexer)),
If(cfg.ChainIndexer.EnableIndexer,
Override(InitChainIndexerKey, modules.InitChainIndexer),
Override(new(full.ChainIndexerAPI), modules.ChainIndexHandler(cfg.ChainIndexer)),
),
),
)
Expand Down

0 comments on commit 05b84ec

Please sign in to comment.