mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
chore(app): 804 Suggested changes - Remove the comment
This commit is contained in:
@ -49,7 +49,6 @@ async def _echo_stream_handler(stream: INetStream) -> None:
|
|||||||
|
|
||||||
|
|
||||||
async def run(port: int, destination: str, seed: int | None = None) -> None:
|
async def run(port: int, destination: str, seed: int | None = None) -> None:
|
||||||
# CHANGED: previously hardcoded 0.0.0.0
|
|
||||||
if port <= 0:
|
if port <= 0:
|
||||||
port = find_free_port()
|
port = find_free_port()
|
||||||
listen_addr = get_available_interfaces(port)
|
listen_addr = get_available_interfaces(port)
|
||||||
|
|||||||
Reference in New Issue
Block a user