cosmetic: remove outdated comment

This commit is contained in:
Matthias Radestock committed 2015-05-11 20:00:04 +01:00
1 parent 03c1f49850
commit 039446f756
1 file changed
-4
-4
View File
@@ -233,10 +233,6 @@ func (routes *Routes) calculateBroadcast(establishedAndSymmetric bool) map[PeerN
if _, found := reached[remoteName]; found {
continue
}
// conn.Remote() cannot by ourself. Modifying
// peer.connections requires a write lock on Peers,
// and since we are holding a read lock (due to the
// ForEach), access without locking the peer is safe.
if remoteConn, found := conn.Remote().connections[routes.ourself.Name]; !establishedAndSymmetric || (found && remoteConn.Established()) {
hops = append(hops, remoteName)
}