Change SwarmConn.conn to muxed_conn

This commit is contained in:
mhchia
2019-09-23 15:46:50 +08:00
parent 8d2415a404
commit 92deae41dc
7 changed files with 15 additions and 13 deletions

View File

@ -36,7 +36,7 @@ class PubsubNotifee(INotifee):
:param network: network the connection was opened on
:param conn: connection that was opened
"""
await self.initiator_peers_queue.put(conn.conn.peer_id)
await self.initiator_peers_queue.put(conn.muxed_conn.peer_id)
async def disconnected(self, network: INetwork, conn: INetConn) -> None:
pass