diff options
author | obscuren <geffobscura@gmail.com> | 2014-09-25 22:57:49 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-09-25 22:57:49 +0800 |
commit | 9ed8dc7384deb932be624699d9f628d3d00ba31e (patch) | |
tree | c20bab9c5c2b9b13be5f261cb72847ffa97654a2 /peer.go | |
parent | 2458697dad8ceac5fe93182e141c7f2eb7428417 (diff) | |
download | go-tangerine-9ed8dc7384deb932be624699d9f628d3d00ba31e.tar.gz go-tangerine-9ed8dc7384deb932be624699d9f628d3d00ba31e.tar.zst go-tangerine-9ed8dc7384deb932be624699d9f628d3d00ba31e.zip |
Attempt to catch up from unknown block
Diffstat (limited to 'peer.go')
-rw-r--r-- | peer.go | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -221,7 +221,6 @@ func (self *Peer) Connect(addr string) (conn net.Conn, err error) { for attempts := 0; attempts < maxTries; attempts++ { conn, err = net.DialTimeout("tcp", addr, 10*time.Second) if err != nil { - //peerlogger.Debugf("Peer connection failed. Retrying (%d/%d) (%s)\n", attempts+1, maxTries, addr) time.Sleep(time.Duration(attempts*20) * time.Second) continue } |