func attemptConnectionToPeer(address string, cm *network.ConnectionManager) { c, err := tls.Dial(address) if err != nil { log.Printf("Error trying to connect to %v : %v", address, err) } else { cm.Handle(c) } }