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{ tlsConfig := tls.Config{
Certificates: []tls.Certificate{cert}, Certificates: []tls.Certificate{cert},
ClientAuth: tls.RequireAndVerifyClientCert, ClientAuth: tls.RequireAndVerifyClientCert,
ClientCAs: clientCAs, ClientCAs: clientCAs,
} }
listenAddr := &net.TCPAddr{Port: port} listenAddr := &net.TCPAddr{Port: port}
listener, err := net.ListenTCP("tcp", listenAddr) listener, err := net.ListenTCP("tcp", listenAddr)

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

Loading…
Cancel
Save