mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-09 14:40:53 +00:00
Change IMuxedConn to INetConn in Notifee
This commit is contained in:
@ -77,7 +77,7 @@ class SwarmConn(INetConn):
|
||||
|
||||
async def _notify_disconnected(self) -> None:
|
||||
for notifee in self.swarm.notifees:
|
||||
await notifee.disconnected(self.swarm, self.conn)
|
||||
await notifee.disconnected(self.swarm, self)
|
||||
|
||||
async def start(self) -> None:
|
||||
await self.run_task(self._handle_new_streams())
|
||||
|
||||
Reference in New Issue
Block a user