mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-08 14:10:54 +00:00
remove constructor of TCP
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user