From cb1a25f94ca88db7913fde7f82728aee9f86209c Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Tue, 10 Sep 2019 21:01:03 -0400 Subject: [PATCH] Execute the todo to remove an unused argument --- libp2p/transport/tcp/tcp.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libp2p/transport/tcp/tcp.py b/libp2p/transport/tcp/tcp.py index 49c7d9b..90bf196 100644 --- a/libp2p/transport/tcp/tcp.py +++ b/libp2p/transport/tcp/tcp.py @@ -58,12 +58,10 @@ class TCPListener(IListener): class TCP(ITransport): - # TODO: Remove `self_id` - async def dial(self, maddr: Multiaddr, self_id: ID) -> IRawConnection: + async def dial(self, maddr: Multiaddr) -> IRawConnection: """ dial a transport to peer listening on multiaddr :param maddr: multiaddr of peer - :param self_id: peer_id of the dialer (to send to receiver) :return: `RawConnection` if successful """ self.host = maddr.value_for_protocol("ip4")