From 6ab0e108d3ac2b4fe4ce7a6028ffcd2c790a0ade Mon Sep 17 00:00:00 2001 From: Chih Cheng Liang Date: Tue, 19 Nov 2019 18:07:19 +0800 Subject: [PATCH] minor --- libp2p/transport/tcp/tcp.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libp2p/transport/tcp/tcp.py b/libp2p/transport/tcp/tcp.py index 0bc1a96..40a890b 100644 --- a/libp2p/transport/tcp/tcp.py +++ b/libp2p/transport/tcp/tcp.py @@ -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))