diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-20 18:57:43 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-20 18:57:43 +0800 |
commit | 0ef7f6372939189dcfeaea8197798a63a6d6688a (patch) | |
tree | 2f80ef09a1ed1c9042571dcf501d0b19c9434fdf /ethereum/ethereum.go | |
parent | a05adb11288a1ea9dc6e38a952ab89fa5eb7f794 (diff) | |
download | dexon-0ef7f6372939189dcfeaea8197798a63a6d6688a.tar.gz dexon-0ef7f6372939189dcfeaea8197798a63a6d6688a.tar.zst dexon-0ef7f6372939189dcfeaea8197798a63a6d6688a.zip |
Removed old console in favor of the new JS REPL
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() |