Skip to content
Snippets Groups Projects
Commit 090ccf39 authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

added logging of the round a send occurs in

parent 5445d0bc
Branches
Tags
No related merge requests found
...@@ -91,7 +91,8 @@ func sendCmixHelper(msg format.Message, recipient *id.ID, param params.CMIX, ins ...@@ -91,7 +91,8 @@ func sendCmixHelper(msg format.Message, recipient *id.ID, param params.CMIX, ins
jww.FATAL.Panicf("Failed to generate ephemeral ID: %+v", err) jww.FATAL.Panicf("Failed to generate ephemeral ID: %+v", err)
} }
jww.INFO.Printf("Sending to EphID %v (source: %s)", ephID.Int64(), recipient) jww.INFO.Printf("Sending to EphID %v (source: %s) in round %d",
ephID.Int64(), recipient, bestRound.ID)
stream := rng.GetStream() stream := rng.GetStream()
ephIdFilled, err := ephID.Fill(uint(bestRound.AddressSpaceSize), stream) ephIdFilled, err := ephID.Fill(uint(bestRound.AddressSpaceSize), stream)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment