aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/puppeth/wizard_explorer.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/puppeth/wizard_explorer.go')
-rw-r--r--cmd/puppeth/wizard_explorer.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd/puppeth/wizard_explorer.go b/cmd/puppeth/wizard_explorer.go
index ed586bc76..10ef72f78 100644
--- a/cmd/puppeth/wizard_explorer.go
+++ b/cmd/puppeth/wizard_explorer.go
@@ -47,15 +47,14 @@ func (w *wizard) deployExplorer() {
client := w.servers[server]
// Retrieve any active node configurations from the server
- existed := true
-
infos, err := checkExplorer(client, w.network)
if err != nil {
infos = &explorerInfos{
nodePort: 30303, webPort: 80, webHost: client.server,
}
- existed = false
}
+ existed := err == nil
+
chainspec, err := newParityChainSpec(w.network, w.conf.Genesis, w.conf.bootFull)
if err != nil {
log.Error("Failed to create chain spec for explorer", "err", err)