1
0

run_electrum: proxy command line option implies proxy enabled (fixes #10324)

This commit is contained in:
Sander van Grieken
2025-11-27 16:08:13 +01:00
parent c8dc4a557c
commit 3a9e3848e8

View File

@@ -319,6 +319,8 @@ def parse_command_line(simple_parser=False) -> Dict:
config_options = {key: config_options[key] for key in filter(f, config_options.keys())}
if config_options.get(SimpleConfig.NETWORK_SERVER.key()):
config_options[SimpleConfig.NETWORK_AUTO_CONNECT.key()] = False
if config_options.get(SimpleConfig.NETWORK_PROXY.key()):
config_options[SimpleConfig.NETWORK_PROXY_ENABLED.key()] = True
config_options['cwd'] = cwd = os.getcwd()