1
0

Merge pull request #10326 from accumulator/fix_10324

run_electrum: proxy command line option implies proxy enabled
This commit is contained in:
ghost43
2025-11-27 15:24:27 +00:00
committed by GitHub

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()