cosmetic: remove duplicate comment

This commit is contained in:
Matthias Radestock committed 2015-02-01 17:52:07 +00:00
1 parent f25696c245
commit 7834057b2e
1 file changed
-1
-1
View File
@@ -263,7 +263,6 @@ func (peer *Peer) encode(enc *gob.Encoder) {
connsBuf := new(bytes.Buffer)
connsEnc := gob.NewEncoder(connsBuf)
for _, conn := range peer.connections {
// DANGER holding rlock on peer, going to take rlock on conn
checkFatal(connsEnc.Encode(conn.Remote().NameByte))
checkFatal(connsEnc.Encode(conn.RemoteTCPAddr()))
// DANGER holding rlock on peer, going to take rlock on conn