aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-09-25 22:57:49 +0800
committerobscuren <geffobscura@gmail.com>2014-09-25 22:57:49 +0800
commit9ed8dc7384deb932be624699d9f628d3d00ba31e (patch)
treec20bab9c5c2b9b13be5f261cb72847ffa97654a2 /peer.go
parent2458697dad8ceac5fe93182e141c7f2eb7428417 (diff)
downloadgo-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.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/peer.go b/peer.go
index ede3ad4e4..6f1ad91e3 100644
--- a/peer.go
+++ b/peer.go
@@ -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
}