remove constructor of TCP

This commit is contained in:
Chih Cheng Liang 2019-08-05 16:56:56 +08:00
parent e763f57930
commit ccfb6eb35f
No known key found for this signature in database
GPG Key ID: C86B5E6612B1487A

View File

@ -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