diff options
Diffstat (limited to 'ethereum/ethereum.go')
-rw-r--r-- | ethereum/ethereum.go | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/ethereum/ethereum.go b/ethereum/ethereum.go index f680b5416..2fdfd5caf 100644 --- a/ethereum/ethereum.go +++ b/ethereum/ethereum.go @@ -141,16 +141,7 @@ save these words so you can restore your account later: %s utils.DoMining(ethereum) } - if StartConsole { - err := os.Mkdir(ethutil.Config.ExecPath, os.ModePerm) - // Error is OK if the error is ErrExist - if err != nil && !os.IsExist(err) { - log.Panic("Unable to create EXECPATH:", err) - } - - console := NewConsole(ethereum) - go console.Start() - } else if StartJsConsole { + if StartJsConsole { repl := NewJSRepl(ethereum) go repl.Start() |