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

made the addition of precanned authenticated channels check garbled messages

parent 4deeb56e
No related branches found
No related tags found
No related merge requests found
......@@ -97,6 +97,10 @@ func (c *Client) MakePrecannedAuthenticatedChannel(precannedID uint) (contact.Co
err := c.storage.E2e().AddPartner(precan.ID, precan.DhPubKey,
c.storage.E2e().GetDHPrivateKey(), sesParam, sesParam)
// check garbled messages in case any messages arrived before creating
// the channel
c.network.CheckGarbledMessages()
return precan, err
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment