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

Merge branch 'hotfix/sendUnsafeReception' into 'release'

Set ReceptionID on SendUnsafe

See merge request !520
parents 1c56fb56 b5c59ccb
No related branches found
No related tags found
No related merge requests found
...@@ -49,9 +49,10 @@ func (m *Manager) SendUnsafe(msg message.Send, param params.Unsafe) ([]id.Round, ...@@ -49,9 +49,10 @@ func (m *Manager) SendUnsafe(msg message.Send, param params.Unsafe) ([]id.Round,
wg := sync.WaitGroup{} wg := sync.WaitGroup{}
for i, p := range partitions { for i, p := range partitions {
myID := m.Session.User().GetCryptographicIdentity()
msgCmix := format.NewMessage(m.Session.Cmix().GetGroup().GetP().ByteLen()) msgCmix := format.NewMessage(m.Session.Cmix().GetGroup().GetP().ByteLen())
msgCmix.SetContents(p) msgCmix.SetContents(p)
e2e.SetUnencrypted(msgCmix, m.Session.User().GetCryptographicIdentity().GetTransmissionID()) e2e.SetUnencrypted(msgCmix, myID.GetReceptionID())
wg.Add(1) wg.Add(1)
go func(i int) { go func(i int) {
var err error var err error
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment