From 0fa469623e8d994cb7fef23692acdb78ae475d1f Mon Sep 17 00:00:00 2001
From: joshemb <josh@elixxir.io>
Date: Mon, 8 Aug 2022 15:09:52 -0700
Subject: [PATCH] WIP: Fix contact marshalling in bindings

---
 bindings/ud.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bindings/ud.go b/bindings/ud.go
index da1b196a2..27b751eb9 100644
--- a/bindings/ud.go
+++ b/bindings/ud.go
@@ -252,7 +252,7 @@ func (ud *UserDiscovery) GetContact() ([]byte, error) {
 		return nil, err
 	}
 
-	return json.Marshal(c)
+	return c.Marshal(), nil
 }
 
 // ConfirmFact confirms a fact first registered via AddFact. The confirmation ID
-- 
GitLab