Skip to content
Snippets Groups Projects
Commit fe02e5a7 authored by Jake Taylor's avatar Jake Taylor
Browse files

print fix

parent 03a86237
No related branches found
No related tags found
1 merge request!170Release
...@@ -68,15 +68,15 @@ func (m *Manager) transmitSingleUse(partner contact2.Contact, payload []byte, ...@@ -68,15 +68,15 @@ func (m *Manager) transmitSingleUse(partner contact2.Contact, payload []byte,
// Get ephemeral ID address space size; this blocks until the address space // Get ephemeral ID address space size; this blocks until the address space
// size is set for the first time // size is set for the first time
addressSize := m.net.GetAddressSize() addressSize := m.net.GetAddressSize()
timeStart := netTime.Now()
// Create new CMIX message containing the transmission payload // Create new CMIX message containing the transmission payload
cmixMsg, dhKey, rid, ephID, err := m.makeTransmitCmixMessage(partner, cmixMsg, dhKey, rid, ephID, err := m.makeTransmitCmixMessage(partner,
payload, tag, MaxMsgs, addressSize, timeout, netTime.Now(), rng) payload, tag, MaxMsgs, addressSize, timeout, timeStart, rng)
if err != nil { if err != nil {
return errors.Errorf("failed to create new CMIX message: %+v", err) return errors.Errorf("failed to create new CMIX message: %+v", err)
} }
timeStart := netTime.Now()
startValid := timeStart.Add(-2 * timeout) startValid := timeStart.Add(-2 * timeout)
endValid := timeStart.Add(2 * timeout) endValid := timeStart.Add(2 * timeout)
jww.DEBUG.Printf("Created single-use transmission CMIX message with new ID "+ jww.DEBUG.Printf("Created single-use transmission CMIX message with new ID "+
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment