aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-02-03 03:54:13 +0800
committerobscuren <geffobscura@gmail.com>2014-02-03 03:54:13 +0800
commita9a564c226bae04bc1939baf44884e7cd69ee924 (patch)
tree3b82916330761fc9ac0f26a85e42c2709a6449e7
parent04b6e413d99c9d8c2fa4c06fa3e7822700209bc6 (diff)
downloadgo-tangerine-a9a564c226bae04bc1939baf44884e7cd69ee924.tar
go-tangerine-a9a564c226bae04bc1939baf44884e7cd69ee924.tar.gz
go-tangerine-a9a564c226bae04bc1939baf44884e7cd69ee924.tar.bz2
go-tangerine-a9a564c226bae04bc1939baf44884e7cd69ee924.tar.lz
go-tangerine-a9a564c226bae04bc1939baf44884e7cd69ee924.tar.xz
go-tangerine-a9a564c226bae04bc1939baf44884e7cd69ee924.tar.zst
go-tangerine-a9a564c226bae04bc1939baf44884e7cd69ee924.zip
removed self connect log
-rw-r--r--peer.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/peer.go b/peer.go
index 80cca50c0..c67e407d1 100644
--- a/peer.go
+++ b/peer.go
@@ -369,8 +369,6 @@ func (p *Peer) Start() {
peerHost, peerPort, _ := net.SplitHostPort(p.conn.LocalAddr().String())
servHost, servPort, _ := net.SplitHostPort(p.conn.RemoteAddr().String())
if peerHost == servHost {
- log.Println("Connected to self")
-
p.Stop()
return