From f04d1cdaea8534481e832285b5d68049c6452544 Mon Sep 17 00:00:00 2001 From: Jake Taylor <jake@elixxir.io> Date: Fri, 2 Sep 2022 13:21:53 -0500 Subject: [PATCH] clean up version generate print --- cmd/ud.go | 4 ++-- cmd/version.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/ud.go b/cmd/ud.go index 8ee968508..08566d5f9 100644 --- a/cmd/ud.go +++ b/cmd/ud.go @@ -252,8 +252,8 @@ var udCmd = &cobra.Command{ // to contact UD. func getUdContactInfo(user *xxdk.E2e) (cert, contactFile []byte, address string, err error) { // Retrieve address - address = string([]byte(user.GetCmix().GetInstance().GetPartialNdf(). - Get().UDB.Address)) + address = string(user.GetCmix().GetInstance().GetPartialNdf(). + Get().UDB.Address) // Retrieve certificate cert = []byte(user.GetCmix().GetInstance().GetPartialNdf().Get().UDB.Cert) diff --git a/cmd/version.go b/cmd/version.go index 0a90ed6fa..328c9cb0e 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -21,7 +21,7 @@ import ( const currentVersion = "4.2.0" func Version() string { - out := fmt.Sprintf("Elixxir Cmix v%s -- %s\n\n", xxdk.SEMVER, + out := fmt.Sprintf("Elixxir Client v%s -- %s\n\n", xxdk.SEMVER, xxdk.GITVERSION) out += fmt.Sprintf("Dependencies:\n\n%s\n", xxdk.DEPENDENCIES) return out -- GitLab