aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-01-27 22:34:50 +0800
committerobscuren <geffobscura@gmail.com>2014-01-27 22:34:50 +0800
commit884f7928717394d631fbc8b721d8ee297f060e5b (patch)
tree76c934a745a7c31fb452d2c245035166d23e8d05 /ethereum.go
parent7931c6624cca041b373e97e17e43318633633250 (diff)
downloaddexon-884f7928717394d631fbc8b721d8ee297f060e5b.tar.gz
dexon-884f7928717394d631fbc8b721d8ee297f060e5b.tar.zst
dexon-884f7928717394d631fbc8b721d8ee297f060e5b.zip
Removed default connection
Diffstat (limited to 'ethereum.go')
-rw-r--r--ethereum.go12
1 files changed, 7 insertions, 5 deletions
diff --git a/ethereum.go b/ethereum.go
index 74e47d7bf..ac11903c0 100644
--- a/ethereum.go
+++ b/ethereum.go
@@ -152,12 +152,14 @@ func (s *Ethereum) Start() {
if ethutil.Config.Debug {
log.Println("Connection listening disabled. Acting as client")
- err = s.ConnectToPeer("localhost:12345")
- if err != nil {
- log.Println("Error starting ethereum", err)
+ /*
+ err = s.ConnectToPeer("localhost:12345")
+ if err != nil {
+ log.Println("Error starting ethereum", err)
- s.Stop()
- }
+ s.Stop()
+ }
+ */
} else {
log.Fatal(err)
}