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

fixed default preimage

parent d7f27a80
No related branches found
No related tags found
3 merge requests!67Release,!60Hotfic/preimage,!55fully implemented trial hashing of identity fingerprints. Needs tests.
......@@ -142,9 +142,11 @@ func buildSlotMessage(msg format.Message, recipient *id.ID, target *id.ID,
msg.SetEphemeralRID(ephIdFilled[:])
// use the alternate identity preimage if it is set
preimage := preimage2.MakeDefault(senderId)
var preimage []byte
if param.IdentityPreimage != nil {
preimage = param.IdentityPreimage
}else{
preimage = preimage2.MakeDefault(recipient)
}
// Set the identity fingerprint
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment