diff --git a/e2e/manager.go b/e2e/manager.go index 6d4102ebba81c19ee4ddce1bb7cf65ad8e3b7ecf..5ae47e6c1c4faa31d1edb9c13a0acba647de5f4f 100644 --- a/e2e/manager.go +++ b/e2e/manager.go @@ -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) diff --git a/e2e/sendE2E.go b/e2e/sendE2E.go index 65cf98cdf63105298daebbc8eede2b21dc6e3d17..159f7c8451ca997d3924803f01bb30eb4355d0f1 100644 --- a/e2e/sendE2E.go +++ b/e2e/sendE2E.go @@ -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) }