From 5496b2709a12c8f137310d953be08f6ae1149388 Mon Sep 17 00:00:00 2001 From: Sumanjeet Date: Mon, 26 May 2025 06:44:58 +0530 Subject: [PATCH] Resolved type-checking error in PubSub example test. (#627) --- tests/core/examples/test_examples.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/core/examples/test_examples.py b/tests/core/examples/test_examples.py index 567593b1..61ec59b1 100644 --- a/tests/core/examples/test_examples.py +++ b/tests/core/examples/test_examples.py @@ -209,8 +209,8 @@ async def ping_demo(host_a, host_b): async def pubsub_demo(host_a, host_b): - gossipsub_a = GossipSub([GOSSIPSUB_PROTOCOL_ID], 3, 2, 4, None, 0.1, 1) - gossipsub_b = GossipSub([GOSSIPSUB_PROTOCOL_ID], 3, 2, 4, None, 0.1, 1) + gossipsub_a = GossipSub([GOSSIPSUB_PROTOCOL_ID], 3, 2, 4, None, 1, 1) + gossipsub_b = GossipSub([GOSSIPSUB_PROTOCOL_ID], 3, 2, 4, None, 1, 1) pubsub_a = Pubsub(host_a, gossipsub_a) pubsub_b = Pubsub(host_b, gossipsub_b) message_a_to_b = "Hello from A to B"