Commit f7634611 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet Committed by Brian Tiger Chow

secured net logs

parent 1439a53b
......@@ -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 {
......
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