[WIP] don't write to public.node from ipld-eth-server (#37)

* don't write to public.node from ipld-eth-server

* update ipld-eth-indexer to version v0.7.0-alpha
This commit was merged in pull request #37.
This commit is contained in:
Ramil Amerzyanov
2021-03-10 13:13:43 +03:00
committed by GitHub
parent bc4d277012
commit 33bb152c04
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ func NewConfig() (*Config, error) {
}
c.HTTPEndpoint = httpPath
overrideDBConnConfig(&c.DBConfig)
serveDB := utils.LoadPostgres(c.DBConfig, nodeInfo)
serveDB := utils.LoadPostgres(c.DBConfig, nodeInfo, false)
prom.RegisterDBCollector(c.DBConfig.Name, serveDB.DB)
c.DB = &serveDB