aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/puppeth/wizard_wallet.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/puppeth/wizard_wallet.go')
-rw-r--r--cmd/puppeth/wizard_wallet.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/puppeth/wizard_wallet.go b/cmd/puppeth/wizard_wallet.go
index 7624d11e2..ca1ea5bd2 100644
--- a/cmd/puppeth/wizard_wallet.go
+++ b/cmd/puppeth/wizard_wallet.go
@@ -96,7 +96,7 @@ func (w *wizard) deployWallet() {
if existed {
fmt.Println()
fmt.Printf("Should the wallet be built from scratch (y/n)? (default = no)\n")
- nocache = w.readDefaultString("n") != "n"
+ nocache = w.readDefaultYesNo(false)
}
if out, err := deployWallet(client, w.network, w.conf.bootnodes, infos, nocache); err != nil {
log.Error("Failed to deploy wallet container", "err", err)