tests: Fix test_xmr_persistent with BTC v28.

This commit is contained in:
tecnovert
2025-01-22 20:08:46 +02:00
parent 6f776971b1
commit f13c481b51
3 changed files with 7 additions and 5 deletions

View File

@@ -251,7 +251,7 @@ def getCoreBinArgs(coin_id: int, coin_settings, prepare=False, use_tor_proxy=Fal
extra_args = []
if "config_filename" in coin_settings:
extra_args.append("--conf=" + coin_settings["config_filename"])
if "port" in coin_settings:
if "port" in coin_settings and coin_id != Coins.BTC:
if prepare is False and use_tor_proxy:
if coin_id == Coins.BCH:
# Without this BCH (27.1) will bind to the default BTC port, even with proxy set