diff --git a/keyExchange/rekey.go b/keyExchange/rekey.go index f37e2e679715a3750ec40a8f9deed924476c32ad..f2aab4c42ebedebd258e83168461b719821e1ef2 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 a72da7b110c92e0065a5f9acaf79698565f8815c..e22dd76f0b30974254de9fb6bd356e8e3f69d88e 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 1dad92c821e756e3c89c6d013c5d78c9e09a1015..384ac9981f1dec0471b72aa3083880c26fc56382 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 16c14701d47ead025dae9758fa4697ce6c5ea007..b09e96c4a19598e7724ccf0bd5781ff60745b3d1 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) }