cmd/puppeth: fix typos and review suggestions

This commit is contained in:
Péter Szilágyi
2017-11-23 14:22:59 +02:00
parent b169a309f9
commit a3a2c6b0d9
13 changed files with 19 additions and 25 deletions

View File

@ -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()