From 72ee4499d00f6ad618b71820b000c3c3b0782406 Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Thu, 26 Oct 2023 04:21:46 +0300 Subject: [PATCH] Don't try to resolve DNS seeds if tor is enabled --- minode/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minode/main.py b/minode/main.py index 1c14fad..750c24c 100644 --- a/minode/main.py +++ b/minode/main.py @@ -287,7 +287,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: