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 7cd74d6506
commit d7991ce493
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63
1 changed files with 1 additions and 1 deletions

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: