diff --git a/src/bami/broadcast/community.py b/src/bami/broadcast/community.py index 0d99ad1..dc5da5f 100644 --- a/src/bami/broadcast/community.py +++ b/src/bami/broadcast/community.py @@ -56,14 +56,14 @@ def __init__(self, *args, **kwargs) -> None: self.add_message_handler(TransactionPayload, self.received_transaction) def ez_send(self, peer: Peer, *payloads: AnyPayload, **kwargs) -> None: - if self.latency_sim: - latency = self.sim_net.get_link_latency(self.my_peer_id, peer.public_key.key_to_bin()) - self.register_anonymous_task("send", - super().ez_send, - peer, *payloads, **kwargs, - delay=latency) - else: - super().ez_send(peer, *payloads, **kwargs) + super().ez_send(peer, *payloads, **kwargs) + # if self.latency_sim: + # latency = self.sim_net.get_link_latency(self.my_peer_id, peer.public_key.key_to_bin()) + # self.register_anonymous_task("send", + # super().ez_send, + # peer, payloads + # delay=latency) + def create_introduction_request(self, socket_address, extra_bytes=b'', new_style=False, prefix=None): extra_bytes = self.is_transaction_creator.to_bytes(1, 'big')