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

Use existing params when available

parent b022d2e9
No related branches found
No related tags found
2 merge requests!510Release,!253General Cleanup
......@@ -173,6 +173,7 @@ func (m *manager) StartProcesses() (stoppable.Stoppable, error) {
recipient *id.ID, payload []byte,
cmixParams cmix.CMIXParams) (
[]id.Round, e2e.MessageID, time.Time, error) {
// FIXME: we should have access to the e2e params here...
par := GetDefaultParams()
par.CMIXParams = cmixParams
return m.SendE2E(mt, recipient, payload, par)
......
......@@ -81,7 +81,7 @@ func (m *manager) sendE2E(mt catalog.MessageType, recipient *id.ID,
rekeySendFunc := func(mt catalog.MessageType, recipient *id.ID,
payload []byte, cmixParams cmix.CMIXParams) (
[]id.Round, e2e.MessageID, time.Time, error) {
par := GetDefaultParams()
par := params
par.CMIXParams = cmixParams
return m.SendE2E(mt, recipient, payload, par)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment