Removed default connection

This commit is contained in:
obscuren
2014-01-27 15:34:50 +01:00
parent 7931c6624c
commit 884f792871
2 changed files with 34 additions and 6 deletions

View File

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