From 7677be65d6ef781c7af825d05d8417baf0afcab0 Mon Sep 17 00:00:00 2001 From: "Richard T. Carback III" <rick.carback@gmail.com> Date: Wed, 16 Mar 2022 00:09:50 +0000 Subject: [PATCH] Deep copy id and key fields --- auth/callback.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth/callback.go b/auth/callback.go index 34f8eb064..20073dfc3 100644 --- a/auth/callback.go +++ b/auth/callback.go @@ -326,8 +326,8 @@ func (m *Manager) handleRequest(cmixMsg format.Message, //create the contact, note that no facts are sent in the payload c := contact.Contact{ - ID: partnerID, - DhPubKey: partnerPubKey, + ID: partnerID.DeepCopy(), + DhPubKey: partnerPubKey.DeepCopy(), OwnershipProof: copySlice(ecrFmt.ownership), Facts: facts, } -- GitLab