aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/puppeth/wizard_netstats.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-10-23 14:58:33 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-11-21 21:09:35 +0800
commitb5cf60389510cdfbd38b2f79936323f89388724c (patch)
tree8335f129760e0f85f071af939dab14aba59e8ed6 /cmd/puppeth/wizard_netstats.go
parent1e0c336d293367bb75df494a685cabb2029f318e (diff)
downloadgo-tangerine-b5cf60389510cdfbd38b2f79936323f89388724c.tar
go-tangerine-b5cf60389510cdfbd38b2f79936323f89388724c.tar.gz
go-tangerine-b5cf60389510cdfbd38b2f79936323f89388724c.tar.bz2
go-tangerine-b5cf60389510cdfbd38b2f79936323f89388724c.tar.lz
go-tangerine-b5cf60389510cdfbd38b2f79936323f89388724c.tar.xz
go-tangerine-b5cf60389510cdfbd38b2f79936323f89388724c.tar.zst
go-tangerine-b5cf60389510cdfbd38b2f79936323f89388724c.zip
cmd/puppeth: add support for deploying web wallets
Diffstat (limited to 'cmd/puppeth/wizard_netstats.go')
-rw-r--r--cmd/puppeth/wizard_netstats.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/puppeth/wizard_netstats.go b/cmd/puppeth/wizard_netstats.go
index 42df501b9..469b7f2bf 100644
--- a/cmd/puppeth/wizard_netstats.go
+++ b/cmd/puppeth/wizard_netstats.go
@@ -145,6 +145,14 @@ func (w *wizard) gatherStats(server string, pubkey []byte, client *sshClient) *s
} else {
stat.services["explorer"] = infos.Report()
}
+ logger.Debug("Checking for wallet availability")
+ if infos, err := checkWallet(client, w.network); err != nil {
+ if err != ErrServiceUnknown {
+ stat.services["wallet"] = map[string]string{"offline": err.Error()}
+ }
+ } else {
+ stat.services["wallet"] = infos.Report()
+ }
logger.Debug("Checking for faucet availability")
if infos, err := checkFaucet(client, w.network); err != nil {
if err != ErrServiceUnknown {