Don't try to resolve DNS seeds if tor is enabled

This commit is contained in:
Lee Miller 2023-10-26 04:21:46 +03:00
parent 213d28a556
commit ea218373fc
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -283,7 +283,7 @@ def main():
if not tor.start_tor_service(): if not tor.start_tor_service():
logging.warning('Failed to start tor service.') logging.warning('Failed to start tor service.')
if shared.ip_enabled and not shared.trusted_peer: if shared.ip_enabled and not shared.trusted_peer and not shared.tor:
bootstrap_from_dns() bootstrap_from_dns()
if shared.i2p_enabled: if shared.i2p_enabled: