mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 08:00:54 +00:00
rename muxed_conn
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
from muxer.mplex.muxed_connection import MuxedConn
|
||||
from stream_muxer.mplex.mplex import Mplex
|
||||
|
||||
|
||||
class TransportUpgrader():
|
||||
@ -24,4 +24,4 @@ class TransportUpgrader():
|
||||
|
||||
# For PoC, no security, default to mplex
|
||||
# TODO do exchange to determine multiplexer
|
||||
return MuxedConn(conn, initiator)
|
||||
return Mplex(conn, initiator)
|
||||
|
||||
Reference in New Issue
Block a user