From a3a2c6b0d9f963c9377612cae1ed6ded6f216c2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Thu, 23 Nov 2017 14:22:59 +0200 Subject: cmd/puppeth: fix typos and review suggestions --- cmd/puppeth/wizard_faucet.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cmd/puppeth/wizard_faucet.go') diff --git a/cmd/puppeth/wizard_faucet.go b/cmd/puppeth/wizard_faucet.go index 7ecb376de..191575b16 100644 --- a/cmd/puppeth/wizard_faucet.go +++ b/cmd/puppeth/wizard_faucet.go @@ -35,8 +35,6 @@ func (w *wizard) deployFaucet() { client := w.servers[server] // Retrieve any active faucet configurations from the server - existed := true - infos, err := checkFaucet(client, w.network) if err != nil { infos = &faucetInfos{ @@ -47,8 +45,9 @@ func (w *wizard) deployFaucet() { minutes: 1440, tiers: 3, } - existed = false } + existed := err == nil + infos.node.genesis, _ = json.MarshalIndent(w.conf.Genesis, "", " ") infos.node.network = w.conf.Genesis.Config.ChainId.Int64() -- cgit v1.2.3