mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-10 23:20:55 +00:00
Remove initiator in Mplex
Besides, fix the wrong passed `multi_addr` to `mplex_stream`.
This commit is contained in:
@ -62,6 +62,7 @@ class IMuxedConn(ABC):
|
||||
Read a message from `stream_id`'s buffer, non-blockingly.
|
||||
"""
|
||||
|
||||
# FIXME: Remove multiaddr from being passed into muxed_conn
|
||||
@abstractmethod
|
||||
async def open_stream(
|
||||
self, protocol_id: str, multi_addr: Multiaddr
|
||||
|
||||
Reference in New Issue
Block a user