From 02b999d9f817dd7631e837d6a6f57193c3597ba5 Mon Sep 17 00:00:00 2001 From: Benjamin Wenger <ben@elixxir.ioo> Date: Fri, 23 Oct 2020 15:55:42 -0700 Subject: [PATCH] fixed comments --- api/authenticatedChannel.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/authenticatedChannel.go b/api/authenticatedChannel.go index 71eae7b11..f66108826 100644 --- a/api/authenticatedChannel.go +++ b/api/authenticatedChannel.go @@ -99,7 +99,7 @@ func (c *Client) MakePrecannedAuthenticatedChannel(precannedID uint) (contact.Co precan := c.MakePrecannedContact(precannedID) - //add the precanned user as a e2e contact + // add the precanned user as a e2e contact sesParam := e2e.GetDefaultSessionParams() err := c.storage.E2e().AddPartner(precan.ID, precan.DhPubKey, c.storage.E2e().GetDHPrivateKey(), sesParam, sesParam) @@ -112,11 +112,11 @@ func (c *Client) MakePrecannedContact(precannedID uint) contact.Contact { e2eGrp := c.storage.E2e().GetGroup() - //get the user definition + // get the user definition precanned := createPrecannedUser(precannedID, c.rng.GetStream(), c.storage.Cmix().GetGroup(), e2eGrp) - //compute their public e2e key + // compute their public e2e key partnerPubKey := e2eGrp.ExpG(precanned.E2eDhPrivateKey, e2eGrp.NewInt(1)) return contact.Contact{ -- GitLab