mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
refactored code
This commit is contained in:
@ -57,7 +57,6 @@ class MDNSDiscovery:
|
||||
def start(self) -> None:
|
||||
"""Register this peer and start listening for others."""
|
||||
print(f"Starting mDNS discovery for peer {self.peer_id} on port {self.port}")
|
||||
print("host is listening on", self.swarm.listeners)
|
||||
self.broadcaster.register()
|
||||
# Listener is started in constructor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user