This commit is contained in:
Chih Cheng Liang 2019-11-19 18:07:19 +08:00 committed by mhchia
parent a397ccdc04
commit 6ab0e108d3
No known key found for this signature in database
GPG Key ID: 389EFBEA1362589A

View File

@ -48,11 +48,6 @@ class TCPListener(IListener):
int(maddr.value_for_protocol("tcp")),
maddr.value_for_protocol("ip4"),
)
# self.server = await asyncio.start_server(
# self.handler,
# maddr.value_for_protocol("ip4"),
# maddr.value_for_protocol("tcp"),
# )
socket = listeners[0].socket
self.multiaddrs.append(_multiaddr_from_socket(socket))