pull/2034/head
Eugene Kim 5 years ago
parent 9b1356764c
commit e6d386e5f8
  1. 4
      cmd/harmony/main.go
  2. 4
      libp2pctl/server.go

@ -587,8 +587,8 @@ func main() {
}
tlsConfig := tls.Config{
Certificates: []tls.Certificate{cert},
ClientAuth: tls.RequireAndVerifyClientCert,
ClientCAs: clientCAs,
ClientAuth: tls.RequireAndVerifyClientCert,
ClientCAs: clientCAs,
}
listenAddr := &net.TCPAddr{Port: port}
listener, err := net.ListenTCP("tcp", listenAddr)

@ -191,8 +191,8 @@ func newConnJSON(conn network.Conn) connJSON {
}
type connEntryJSON struct {
ID ConnID
URL string
ID ConnID
URL string
connJSON
}

Loading…
Cancel
Save