Skip to content

Commit

Permalink
fix explorer persistence issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jagdeep sidhu committed Mar 3, 2022
1 parent 03f2726 commit 3b9993c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/puppeth/module_explorer.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ services:
- VIRTUAL_HOST={{.VHost}}
- VIRTUAL_PORT=4000{{end}}
volumes:
- {{.Datadir}}:/opt/app/.ethereum
- {{.Datadir}}:/opt/app/.syscoin
- {{.DBDir}}:/var/lib/postgresql/data
logging:
driver: "json-file"
Expand Down Expand Up @@ -346,7 +346,7 @@ func checkExplorer(client *sshClient, network string) (*explorerInfos, error) {
// Assemble and return the useful infos
stats := &explorerInfos{
node: &nodeInfos{
datadir: infos.volumes["/opt/app/.ethereum"],
datadir: infos.volumes["/opt/app/.syscoin"],
port: infos.portmap[infos.envvars["ETH_PORT"]+"/tcp"],
ethstats: infos.envvars["ETH_NAME"],
},
Expand Down

0 comments on commit 3b9993c

Please sign in to comment.