Skip to content
Snippets Groups Projects
Commit d3d6552c authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Make sure old session e2e params are copied over

parent b1cf5ad3
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ func handleTrigger(sess *storage.Session, net interfaces.NetworkManager,
//create the new session
session, duplicate := partner.NewReceiveSession(PartnerPublicKey,
params.GetDefaultE2ESessionParams(), oldSession)
oldSession.GetE2EParams(), oldSession)
// new session being nil means the session was a duplicate. This is possible
// in edge cases where the partner crashes during operation. The session
// creation in this case ignores the new session, but the confirmation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment