aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-05-14 20:11:45 +0800
committerMaran <maran.hidskes@gmail.com>2014-05-14 20:11:45 +0800
commita1dcc5cd1793dc05e2ff38e8a8024690e09aebf5 (patch)
tree8d834c70e57646da5c11ddf6489c264b15c30d4d
parentc9db87277be495b3567b2831f2f88b8192edb20f (diff)
downloadgo-tangerine-a1dcc5cd1793dc05e2ff38e8a8024690e09aebf5.tar.gz
go-tangerine-a1dcc5cd1793dc05e2ff38e8a8024690e09aebf5.tar.zst
go-tangerine-a1dcc5cd1793dc05e2ff38e8a8024690e09aebf5.zip
Prevent crash during import of privkeys.
@obscuren please check if this was commented out for a reason
-rw-r--r--ethereum/ethereum.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/ethereum/ethereum.go b/ethereum/ethereum.go
index d22513972..2abf6da42 100644
--- a/ethereum/ethereum.go
+++ b/ethereum/ethereum.go
@@ -64,10 +64,9 @@ func main() {
log.SetOutput(logfile)
logSys = log.New(logfile, "", flags)
logger.AddLogSystem(logSys)
- }
- /*else {
+ } else {
logSys = log.New(os.Stdout, "", flags)
- }*/
+ }
ethchain.InitFees()