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

Set receptionID on SendUnsafe, not TransmissionID

parent a5faa9a1
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