Add test for notifee disconnected

This commit is contained in:
mhchia
2019-09-17 21:54:20 +08:00
parent 675c61ce3b
commit b8b5ac5e06
5 changed files with 87 additions and 333 deletions

View File

@ -100,7 +100,7 @@ class BasicHost(IHost):
:return: stream: new stream created
"""
net_stream = await self._network.new_stream(peer_id, protocol_ids)
net_stream = await self._network.new_stream(peer_id)
# Perform protocol muxing to determine protocol to use
selected_protocol = await self.multiselect_client.select_one_of(