From fd6c04d78c085927b6ed7b96126693074fd5154c Mon Sep 17 00:00:00 2001 From: rjl493456442 Date: Tue, 5 Mar 2019 15:49:59 +0800 Subject: [PATCH] cmd/puppeth: fix dbdir --- cmd/puppeth/wizard_explorer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/puppeth/wizard_explorer.go b/cmd/puppeth/wizard_explorer.go index 485a981f4b..fb9b710a04 100644 --- a/cmd/puppeth/wizard_explorer.go +++ b/cmd/puppeth/wizard_explorer.go @@ -80,7 +80,7 @@ func (w *wizard) deployExplorer() { infos.dbdir = w.readString() } else { fmt.Printf("Where should postgres data be stored on the remote machine? (default = %s)\n", infos.dbdir) - infos.dbdir = w.readDefaultString(infos.datadir) + infos.dbdir = w.readDefaultString(infos.dbdir) } // Figure out which port to listen on fmt.Println()