From a17ec762ead1f8a15ad9ec127eabd067df941f3d Mon Sep 17 00:00:00 2001 From: Jake Taylor <jake@elixxir.io> Date: Tue, 18 May 2021 14:19:01 -0500 Subject: [PATCH] fix spelling issues --- keyExchange/rekey.go | 2 +- keyExchange/trigger.go | 2 +- network/message/critical.go | 4 ++-- network/message/sendE2E.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/keyExchange/rekey.go b/keyExchange/rekey.go index f37e2e679..f2aab4c42 100644 --- a/keyExchange/rekey.go +++ b/keyExchange/rekey.go @@ -137,7 +137,7 @@ func negotiate(instance *network.Instance, sendE2E interfaces.SendE2E, // otherwise, the transmission is a success and this should be denoted // in the session and the log - jww.INFO.Printf("Key Negotiation transmission for %s sucesful", + jww.INFO.Printf("Key Negotiation transmission for %s successful", session) session.SetNegotiationStatus(e2e.Sent) diff --git a/keyExchange/trigger.go b/keyExchange/trigger.go index a72da7b11..e22dd76f0 100644 --- a/keyExchange/trigger.go +++ b/keyExchange/trigger.go @@ -153,7 +153,7 @@ func handleTrigger(sess *storage.Session, net interfaces.NetworkManager, // otherwise, the transmission is a success and this should be denoted // in the session and the log sess.GetCriticalMessages().Succeeded(m) - jww.INFO.Printf("Key Negotiation transmission for %s sucesfull", + jww.INFO.Printf("Key Negotiation transmission for %s successfully", session) return nil diff --git a/network/message/critical.go b/network/message/critical.go index 1dad92c82..384ac9981 100644 --- a/network/message/critical.go +++ b/network/message/critical.go @@ -80,7 +80,7 @@ func (m *Manager) criticalMessages() { return } - jww.INFO.Printf("Sucesfull resend of critical message "+ + jww.INFO.Printf("Successful resend of critical message "+ "to %s on rounds %d", msg.Recipient, rounds) critMsgs.Succeeded(msg) }(msg, param) @@ -128,7 +128,7 @@ func (m *Manager) criticalMessages() { return } - jww.INFO.Printf("Sucesfull resend of critical raw message "+ + jww.INFO.Printf("Successful resend of critical raw message "+ "to %s (msgDigest: %s) on round %d", rid, msg.Digest(), round) critRawMsgs.Succeeded(msg, rid) diff --git a/network/message/sendE2E.go b/network/message/sendE2E.go index 16c14701d..b09e96c4a 100644 --- a/network/message/sendE2E.go +++ b/network/message/sendE2E.go @@ -114,7 +114,7 @@ func (m *Manager) SendE2E(msg message.Send, param params.E2E) ([]id.Round, e2e.M return nil, e2e.MessageID{}, errors.Errorf("Failed to E2E send %v/%v sub payloads:"+ " %s", numFail, len(partitions), errRtn) } else { - jww.INFO.Printf("Sucesfully E2E sent %d/%d to %s", + jww.INFO.Printf("Successfully E2E sent %d/%d to %s", len(partitions)-numFail, len(partitions), msg.Recipient) } -- GitLab