Execute the todo to remove an unused argument
This commit is contained in:
parent
4bd32cc4bc
commit
cb1a25f94c
|
@ -58,12 +58,10 @@ class TCPListener(IListener):
|
||||||
|
|
||||||
|
|
||||||
class TCP(ITransport):
|
class TCP(ITransport):
|
||||||
# TODO: Remove `self_id`
|
async def dial(self, maddr: Multiaddr) -> IRawConnection:
|
||||||
async def dial(self, maddr: Multiaddr, self_id: ID) -> IRawConnection:
|
|
||||||
"""
|
"""
|
||||||
dial a transport to peer listening on multiaddr
|
dial a transport to peer listening on multiaddr
|
||||||
:param maddr: multiaddr of peer
|
:param maddr: multiaddr of peer
|
||||||
:param self_id: peer_id of the dialer (to send to receiver)
|
|
||||||
:return: `RawConnection` if successful
|
:return: `RawConnection` if successful
|
||||||
"""
|
"""
|
||||||
self.host = maddr.value_for_protocol("ip4")
|
self.host = maddr.value_for_protocol("ip4")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user