update readme

This commit is contained in:
Youngjoon Lee 2024-05-16 16:02:34 +09:00
parent 8853d74fd5
commit e1850865a5
No known key found for this signature in database
GPG Key ID: 09B750B5BD6F08A2

View File

@ -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