diff options
author | obscuren <geffobscura@gmail.com> | 2014-09-10 17:39:11 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-09-10 17:39:11 +0800 |
commit | c0187930dc352c645c223e17364623a68413cb74 (patch) | |
tree | 4397d17557063fe0b0c30791b9737b1b76a65654 /peer.go | |
parent | 2f362509b813573f533a5be437c140355ddec7fc (diff) | |
download | go-tangerine-c0187930dc352c645c223e17364623a68413cb74.tar.gz go-tangerine-c0187930dc352c645c223e17364623a68413cb74.tar.zst go-tangerine-c0187930dc352c645c223e17364623a68413cb74.zip |
Removed some commented code
Diffstat (limited to 'peer.go')
-rw-r--r-- | peer.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -694,7 +694,7 @@ func (p *Peer) handleHandshake(msg *ethwire.Msg) { } // Handle the pub key (validation, uniqueness) - if pub == nil || len(pub) == 0 { + if len(pub) == 0 { peerlogger.Warnln("Pubkey required, not supplied in handshake.") p.Stop() return |