From f7634611e6779c0f82f1facb3be6da647f235082 Mon Sep 17 00:00:00 2001 From: Juan Batiz-Benet Date: Fri, 19 Sep 2014 05:51:31 -0700 Subject: [PATCH] secured net logs --- net/swarm/conn.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/swarm/conn.go b/net/swarm/conn.go index 93bee663d..333f7a700 100644 --- a/net/swarm/conn.go +++ b/net/swarm/conn.go @@ -101,12 +101,14 @@ func (s *Swarm) connSetup(c *conn.Conn) error { return errors.New("Tried to start nil connection.") } - u.DOut("Starting connection: %s\n", c.Peer.Key().Pretty()) + // u.DOut("Starting connection: %s\n", c.Peer.Key().Pretty()) if err := s.connSecure(c); err != nil { return fmt.Errorf("Conn securing error: %v", err) } + // u.DOut("Secured connection: %s\n", c.Peer.Key().Pretty()) + // add to conns s.connsLock.Lock() if _, ok := s.conns[c.Peer.Key()]; ok {