From a9611c782b08742b6d6fbbe7546e50aba18c0549 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Tue, 17 Nov 2015 13:56:18 +0000 Subject: [PATCH] cosmetic: move comment --- mesh/connection.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mesh/connection.go b/mesh/connection.go index 7e9a671a..b7b5d270 100644 --- a/mesh/connection.go +++ b/mesh/connection.go @@ -86,11 +86,10 @@ func StartLocalConnection(connRemote *RemoteConnection, tcpConn *net.TCPConn, ro if connRemote.local != router.Ourself.Peer { log.Fatal("Attempt to create local connection from a peer which is not ourself") } - // NB, we're taking a copy of connRemote here. actionChan := make(chan ConnectionAction, ChannelSize) finished := make(chan struct{}) conn := &LocalConnection{ - RemoteConnection: *connRemote, + RemoteConnection: *connRemote, // NB, we're taking a copy of connRemote here. Router: router, TCPConn: tcpConn, uid: randUint64(),