From e6d386e5f86ae5ef14e33514e02847509050fcf0 Mon Sep 17 00:00:00 2001 From: Eugene Kim Date: Sat, 14 Dec 2019 12:12:52 -0800 Subject: [PATCH] goimports --- cmd/harmony/main.go | 4 ++-- libp2pctl/server.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/harmony/main.go b/cmd/harmony/main.go index 08c06e136..9f4d58585 100644 --- a/cmd/harmony/main.go +++ b/cmd/harmony/main.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) diff --git a/libp2pctl/server.go b/libp2pctl/server.go index 86a055117..a5cb1ea17 100644 --- a/libp2pctl/server.go +++ b/libp2pctl/server.go @@ -191,8 +191,8 @@ func newConnJSON(conn network.Conn) connJSON { } type connEntryJSON struct { - ID ConnID - URL string + ID ConnID + URL string connJSON }