From d25cbc64b9be82f0f050d65169922557e8c42316 Mon Sep 17 00:00:00 2001 From: Benjamin Wenger <ben@elixxir.ioo> Date: Thu, 8 Sep 2022 12:43:51 -0700 Subject: [PATCH] fixed bad prints --- auth/confirm.go | 2 +- auth/request.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/auth/confirm.go b/auth/confirm.go index a23cf845d..df3e8d367 100644 --- a/auth/confirm.go +++ b/auth/confirm.go @@ -171,7 +171,7 @@ func sendAuthConfirm(net cmixClient, partner *id.ID, } em := fmt.Sprintf("Confirm Request with %s (msgDigest: %s) sent on round %d", - partner, format.DigestContents(payload), sentRound) + partner, format.DigestContents(payload), sentRound.ID) jww.INFO.Print(em) event.Report(1, "Auth", "SendConfirm", em) return sentRound.ID, nil diff --git a/auth/request.go b/auth/request.go index 988d19480..17db1b2f6 100644 --- a/auth/request.go +++ b/auth/request.go @@ -164,7 +164,7 @@ func (s *state) request(partner contact.Contact, myfacts fact.FactList, } em := fmt.Sprintf("Auth Request with %s (msgDigest: %s) sent"+ - " on round %d", partner.ID, format.DigestContents(contents), round) + " on round %d", partner.ID, format.DigestContents(contents), round.ID) jww.INFO.Print(em) s.event.Report(1, "Auth", "RequestSent", em) return round.ID, nil -- GitLab