Show visible maddrs for public swarm too (#263)

pull/264/head
Alexander Borzunov 1 year ago committed by GitHub
parent 42594e5173
commit 38b071135b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -136,9 +136,10 @@ class Server:
visible_maddrs_str = [str(a) for a in self.dht.get_visible_maddrs()]
if initial_peers == PUBLIC_INITIAL_PEERS:
logger.info(f"Connecting to the public swarm, peer_id = {self.dht.peer_id}")
logger.info("Connecting to the public swarm")
else:
logger.info(f"Running DHT node on {visible_maddrs_str}, initial peers = {initial_peers}")
logger.info(f"Connecting to a private swarm, initial peers: {initial_peers}")
logger.info(f"Running a server on {visible_maddrs_str}")
self.should_validate_reachability = not skip_reachability_check and initial_peers == PUBLIC_INITIAL_PEERS
if device is None:

Loading…
Cancel
Save