Skip to content

Commit 5496b27

Browse files
Resolved type-checking error in PubSub example test. (#627)
1 parent 481be5d commit 5496b27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/core/examples/test_examples.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ async def ping_handler(stream):
209209

210210

211211
async def pubsub_demo(host_a, host_b):
212-
gossipsub_a = GossipSub([GOSSIPSUB_PROTOCOL_ID], 3, 2, 4, None, 0.1, 1)
213-
gossipsub_b = GossipSub([GOSSIPSUB_PROTOCOL_ID], 3, 2, 4, None, 0.1, 1)
212+
gossipsub_a = GossipSub([GOSSIPSUB_PROTOCOL_ID], 3, 2, 4, None, 1, 1)
213+
gossipsub_b = GossipSub([GOSSIPSUB_PROTOCOL_ID], 3, 2, 4, None, 1, 1)
214214
pubsub_a = Pubsub(host_a, gossipsub_a)
215215
pubsub_b = Pubsub(host_b, gossipsub_b)
216216
message_a_to_b = "Hello from A to B"

0 commit comments

Comments
 (0)