diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-11-23 20:22:59 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-11-23 20:22:59 +0800 |
commit | a3a2c6b0d9f963c9377612cae1ed6ded6f216c2d (patch) | |
tree | 9c776ad507336517680ce447e2649c6e38fca29a /cmd/puppeth/wizard_faucet.go | |
parent | b169a309f9f22eff18a66b4e3a97dd0184a946e8 (diff) | |
download | go-tangerine-a3a2c6b0d9f963c9377612cae1ed6ded6f216c2d.tar go-tangerine-a3a2c6b0d9f963c9377612cae1ed6ded6f216c2d.tar.gz go-tangerine-a3a2c6b0d9f963c9377612cae1ed6ded6f216c2d.tar.bz2 go-tangerine-a3a2c6b0d9f963c9377612cae1ed6ded6f216c2d.tar.lz go-tangerine-a3a2c6b0d9f963c9377612cae1ed6ded6f216c2d.tar.xz go-tangerine-a3a2c6b0d9f963c9377612cae1ed6ded6f216c2d.tar.zst go-tangerine-a3a2c6b0d9f963c9377612cae1ed6ded6f216c2d.zip |
cmd/puppeth: fix typos and review suggestions
Diffstat (limited to 'cmd/puppeth/wizard_faucet.go')
-rw-r--r-- | cmd/puppeth/wizard_faucet.go | 5 |
1 files changed, 2 insertions, 3 deletions
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() |