From 51137855435f71d7e095b3b2ca9287a78cf535f9 Mon Sep 17 00:00:00 2001 From: Kevin Mai-Husan Chia Date: Wed, 4 Sep 2019 20:32:43 +0800 Subject: [PATCH] Update libp2p/pubsub/pubsub.py Co-Authored-By: NIC Lin --- libp2p/pubsub/pubsub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libp2p/pubsub/pubsub.py b/libp2p/pubsub/pubsub.py index 7b725d0..b181293 100644 --- a/libp2p/pubsub/pubsub.py +++ b/libp2p/pubsub/pubsub.py @@ -228,7 +228,7 @@ class Pubsub: # Send hello packet hello = self.get_hello_packet() await stream.write(encode_varint_prefixed(hello.SerializeToString())) - # TODO: Check EOF in the future in the stream's lifetime. + # TODO: Check EOF of this stream. # TODO: Check if the peer in black list. self.router.add_peer(peer_id, stream.get_protocol())