Removed old console in favor of the new JS REPL

This commit is contained in:
obscuren
2014-05-20 12:57:43 +02:00
parent a05adb1128
commit 0ef7f63729
3 changed files with 1 additions and 272 deletions

View File

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