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 aeac305dd5
commit de140baeb4
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -283,7 +283,7 @@ def main():
if not tor.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()
if shared.i2p_enabled: