From bbe4e492904a3b0111081b195923ea503cbed67f Mon Sep 17 00:00:00 2001
From: Jake Taylor <jake@elixxir.io>
Date: Wed, 6 Jul 2022 14:22:13 -0500
Subject: [PATCH] align file paths for contacts

---
 connectClient/main.go | 2 +-
 connectServer/main.go | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/connectClient/main.go b/connectClient/main.go
index 019f32e..0b1e74f 100644
--- a/connectClient/main.go
+++ b/connectClient/main.go
@@ -24,7 +24,7 @@ func main() {
 	// Create a new client object-------------------------------------------------------
 
 	// Path to the server contact file
-	serverContactPath := "server-contact.json"
+	serverContactPath := "connectServer.xxc"
 
 	// You would ideally use a configuration tool to acquire these parameters
 	statePath := "statePath"
diff --git a/connectServer/main.go b/connectServer/main.go
index 7a29d85..0d8cc28 100644
--- a/connectServer/main.go
+++ b/connectServer/main.go
@@ -20,6 +20,9 @@ func main() {
 
 	// Create a new client object-------------------------------------------------------
 
+	// Set the output contact file path
+	contactFilePath := "connectServer.xxc"
+
 	// You would ideally use a configuration tool to acquire these parameters
 	statePath := "statePath"
 	statePass := "password"
@@ -94,9 +97,6 @@ func main() {
 
 	// Save contact file----------------------------------------------------------------
 
-	// Get the contact file path
-	contactFilePath := "connectServer.xxc"
-
 	// Save the contact file so that client can connect to this server
 	writeContact(contactFilePath, identity.GetContact())
 
-- 
GitLab