mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
removed comments
This commit is contained in:
@ -8,11 +8,7 @@ class Stream(IStream):
|
||||
|
||||
ip = maddr.get_protocol_value("ip4")
|
||||
port = maddr.get_protocol_value("tcp")
|
||||
|
||||
# look up peer_id -> multiaddr in peer store
|
||||
# parse multiaddr and set_protocol based on it
|
||||
# open connection to multiaddr
|
||||
# save connection to stream's state
|
||||
|
||||
self.open_connection(ip, port)
|
||||
|
||||
async def open_connection(self, ip, port):
|
||||
|
||||
Reference in New Issue
Block a user