mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Remove initiator in Mplex
Besides, fix the wrong passed `multi_addr` to `mplex_stream`.
This commit is contained in:
@ -145,6 +145,7 @@ class Swarm(INetwork):
|
||||
# Use muxed conn to open stream, which returns
|
||||
# a muxed stream
|
||||
# TODO: Remove protocol id from being passed into muxed_conn
|
||||
# FIXME: Remove multiaddr from being passed into muxed_conn
|
||||
muxed_stream = await muxed_conn.open_stream(protocol_ids[0], multiaddr)
|
||||
|
||||
# Perform protocol muxing to determine protocol to use
|
||||
|
||||
Reference in New Issue
Block a user