Skip to content
Snippets Groups Projects
Commit d25cbc64 authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

fixed bad prints

parent 20d4ec79
No related branches found
No related tags found
5 merge requests!510Release,!419rewrote the health tracker to both consider if there are waiting rounds and...,!370Full round obj,!369Full round obj,!340Project/channels
...@@ -171,7 +171,7 @@ func sendAuthConfirm(net cmixClient, partner *id.ID, ...@@ -171,7 +171,7 @@ func sendAuthConfirm(net cmixClient, partner *id.ID,
} }
em := fmt.Sprintf("Confirm Request with %s (msgDigest: %s) sent on round %d", 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) jww.INFO.Print(em)
event.Report(1, "Auth", "SendConfirm", em) event.Report(1, "Auth", "SendConfirm", em)
return sentRound.ID, nil return sentRound.ID, nil
......
...@@ -164,7 +164,7 @@ func (s *state) request(partner contact.Contact, myfacts fact.FactList, ...@@ -164,7 +164,7 @@ func (s *state) request(partner contact.Contact, myfacts fact.FactList,
} }
em := fmt.Sprintf("Auth Request with %s (msgDigest: %s) sent"+ 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) jww.INFO.Print(em)
s.event.Report(1, "Auth", "RequestSent", em) s.event.Report(1, "Auth", "RequestSent", em)
return round.ID, nil return round.ID, nil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment