mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-01 17:13:45 +00:00
removed self connect log
This commit is contained in:
parent
04b6e413d9
commit
a9a564c226
1 changed files with 0 additions and 2 deletions
2
peer.go
2
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue