From ccfb6eb35ff46a0f5f0092dd9edc5b0e6c69eca5 Mon Sep 17 00:00:00 2001 From: Chih Cheng Liang Date: Mon, 5 Aug 2019 16:56:56 +0800 Subject: [PATCH] remove constructor of TCP --- libp2p/transport/tcp/tcp.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/libp2p/transport/tcp/tcp.py b/libp2p/transport/tcp/tcp.py index 4a9217d..20116f7 100644 --- a/libp2p/transport/tcp/tcp.py +++ b/libp2p/transport/tcp/tcp.py @@ -61,9 +61,6 @@ class TCPListener(IListener): class TCP(ITransport): - def __init__(self) -> None: - self.listener = TCPListener() - async def dial(self, maddr: Multiaddr, self_id: ID) -> IRawConnection: """ dial a transport to peer listening on multiaddr