diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-01 02:15:57 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-01 02:15:57 +0800 |
commit | 6ea7aae29ca71e6fe857b85296b574e09df57184 (patch) | |
tree | 3b5a4ee4aad751ec3166005135771f6721f877ff /cmd/ethereum/flags.go | |
parent | cc5c8a444dbc23501ba1a131eb2334f4b5e1ce9f (diff) | |
download | go-tangerine-6ea7aae29ca71e6fe857b85296b574e09df57184.tar.gz go-tangerine-6ea7aae29ca71e6fe857b85296b574e09df57184.tar.zst go-tangerine-6ea7aae29ca71e6fe857b85296b574e09df57184.zip |
Removed some methods from the JS REPL
Diffstat (limited to 'cmd/ethereum/flags.go')
-rw-r--r-- | cmd/ethereum/flags.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/ethereum/flags.go b/cmd/ethereum/flags.go index 7d410c8e4..c42083160 100644 --- a/cmd/ethereum/flags.go +++ b/cmd/ethereum/flags.go @@ -135,6 +135,12 @@ func Init() { flag.Parse() + // When the javascript console is started log to a file instead + // of stdout + if StartJsConsole { + LogFile = path.Join(Datadir, "ethereum.log") + } + var err error if NAT, err = nat.Parse(*natstr); err != nil { log.Fatalf("-nat: %v", err) |