aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/chaincmd.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-05-30 22:30:17 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-05-31 15:59:38 +0800
commitda729e5b386ca0fd32344dcc1fd63d14c0bb39ab (patch)
tree4580f73272390fd4c9d6cbaf00ae523ef745a3cf /cmd/geth/chaincmd.go
parent14ae5708d61059d424c9be9822b85a3f4bb392b3 (diff)
downloaddexon-da729e5b386ca0fd32344dcc1fd63d14c0bb39ab.tar
dexon-da729e5b386ca0fd32344dcc1fd63d14c0bb39ab.tar.gz
dexon-da729e5b386ca0fd32344dcc1fd63d14c0bb39ab.tar.bz2
dexon-da729e5b386ca0fd32344dcc1fd63d14c0bb39ab.tar.lz
dexon-da729e5b386ca0fd32344dcc1fd63d14c0bb39ab.tar.xz
dexon-da729e5b386ca0fd32344dcc1fd63d14c0bb39ab.tar.zst
dexon-da729e5b386ca0fd32344dcc1fd63d14c0bb39ab.zip
cmd/geth, console: fix reviewer issues
Diffstat (limited to 'cmd/geth/chaincmd.go')
-rw-r--r--cmd/geth/chaincmd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/chaincmd.go b/cmd/geth/chaincmd.go
index 457dbcfff..4f47de5d7 100644
--- a/cmd/geth/chaincmd.go
+++ b/cmd/geth/chaincmd.go
@@ -117,7 +117,7 @@ func exportChain(ctx *cli.Context) {
}
func removeDB(ctx *cli.Context) {
- confirm, err := console.TerminalPrompter.PromptConfirm("Remove local database?")
+ confirm, err := console.Stdin.PromptConfirm("Remove local database?")
if err != nil {
utils.Fatalf("%v", err)
}