Commit 198b6e2b authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

remove stale TODO

parent ee3be129
......@@ -117,8 +117,7 @@ func (s *Swarm) connSetup(c *conn.Conn) error {
u.DOut("Secured connection: %s\n", c.Peer.Key().Pretty())
//TODO(jbenet) the peer might potentially already be in the global PeerBook.
// maybe use the handshake to populate peer.
// add address of connection to Peer. Maybe it should happen in connSecure.
c.Peer.AddAddress(c.Addr)
// add to conns
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment