From 175d964d70347adf15a9c1f8f6bc44f441b02c32 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: