mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
Rename stream muxer initiator flags
This commit is contained in:
@ -56,7 +56,7 @@ class MuxerMultistream:
|
||||
"""
|
||||
protocol: TProtocol
|
||||
communicator = MultiselectCommunicator(conn)
|
||||
if conn.initiator:
|
||||
if conn.is_initiator:
|
||||
protocol = await self.multiselect_client.select_one_of(
|
||||
tuple(self.transports.keys()), communicator
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user