cmd/geth, console: fix reviewer issues

This commit is contained in:
Péter Szilágyi
2016-05-30 17:30:17 +03:00
parent 14ae5708d6
commit da729e5b38
6 changed files with 68 additions and 49 deletions

View File

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