Refactor bootstrap discovery to use async methods and update bootstrap peers list

This commit is contained in:
sumanjeet0012@gmail.com
2025-07-10 19:24:09 +05:30
parent 198208aef3
commit 2dfee68f20
4 changed files with 28 additions and 9 deletions

View File

@ -178,7 +178,7 @@ class BasicHost(IHost):
self.mDNS.start()
if hasattr(self, "bootstrap") and self.bootstrap is not None:
logger.debug("Starting Bootstrap Discovery")
self.bootstrap.start()
await self.bootstrap.start()
try:
yield
finally: