From 16d535d9c1511a64d09f220905f80a841059747c Mon Sep 17 00:00:00 2001 From: Jono Wenger <jono@elixxir.io> Date: Fri, 1 Jul 2022 13:33:52 -0700 Subject: [PATCH] Make fields of ConnectionServer public --- connect/authenticated_test.go | 2 +- connect/connect.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/connect/authenticated_test.go b/connect/authenticated_test.go index 3668a7422..5a8a3112f 100644 --- a/connect/authenticated_test.go +++ b/connect/authenticated_test.go @@ -42,7 +42,7 @@ func TestConnectWithAuthentication(t *testing.T) { myRsaPrivKey, err := rsa.LoadPrivateKeyFromPem(getPrivKey()) if err != nil { - t.Fatalf("Faled to load private key: %v", err) + t.Fatalf("Failed to load private key: %v", err) } // Construct client ID the proper way as server will need to verify it diff --git a/connect/connect.go b/connect/connect.go index 0f3329bc3..0a6b9a7fc 100644 --- a/connect/connect.go +++ b/connect/connect.go @@ -191,8 +191,8 @@ func StartServer(identity xxdk.ReceptionIdentity, cb Callback, net *xxdk.Cmix, // ConnectionServer contains type ConnectionServer struct { - e2e *xxdk.E2e - cl *ConnectionList + E2e *xxdk.E2e + Cl *ConnectionList } // handler provides an implementation for the Connection interface. -- GitLab