From e1850865a548a0588ab56317f6756141e0bcdde8 Mon Sep 17 00:00:00 2001 From: Youngjoon Lee <5462944+youngjoon-lee@users.noreply.github.com> Date: Thu, 16 May 2024 16:02:34 +0900 Subject: [PATCH] update readme --- mixnet/v2/sim/p2p.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mixnet/v2/sim/p2p.py b/mixnet/v2/sim/p2p.py index 5de2af9..5b59552 100644 --- a/mixnet/v2/sim/p2p.py +++ b/mixnet/v2/sim/p2p.py @@ -32,7 +32,7 @@ class P2p: self.senders_around_interval[sender] += 1 # Yield 0 to ensure that the broadcast is done in the same time step. - # Without this, SimPy complains that the broadcast func is not a generator. + # Without any yield, SimPy complains that the broadcast func is not a generator. yield self.env.timeout(0) # TODO: gossipsub or something similar