aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/puppeth/wizard.go
diff options
context:
space:
mode:
authorEgon Elbre <egonelbre@gmail.com>2017-08-07 19:34:21 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-08-07 19:34:21 +0800
commit85454e7678f8f295ae72b8579aa443f9e45344cb (patch)
tree264f1ed9c86a0c6abec55eb3dd59603b53c82d0a /cmd/puppeth/wizard.go
parent8c2cf3c66cf1d678b8b22e2c6245976058bfb525 (diff)
downloaddexon-85454e7678f8f295ae72b8579aa443f9e45344cb.tar.gz
dexon-85454e7678f8f295ae72b8579aa443f9e45344cb.tar.zst
dexon-85454e7678f8f295ae72b8579aa443f9e45344cb.zip
cmd: fix megacheck warnings (#14912)
* cmd: fix megacheck warnings * cmd: revert time.Until changes, keep readFloat
Diffstat (limited to 'cmd/puppeth/wizard.go')
-rw-r--r--cmd/puppeth/wizard.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/puppeth/wizard.go b/cmd/puppeth/wizard.go
index 288b67508..f19bcbbcd 100644
--- a/cmd/puppeth/wizard.go
+++ b/cmd/puppeth/wizard.go
@@ -160,6 +160,7 @@ func (w *wizard) readDefaultInt(def int) int {
}
}
+/*
// readFloat reads a single line from stdin, trimming if from spaces, enforcing it
// to parse into a float.
func (w *wizard) readFloat() float64 {
@@ -180,6 +181,7 @@ func (w *wizard) readFloat() float64 {
return val
}
}
+*/
// readDefaultFloat reads a single line from stdin, trimming if from spaces, enforcing
// it to parse into a float. If an empty line is entered, the default value is returned.