From fa8f25118c021c272abe91a911f0cfdcf40da254 Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Wed, 20 May 2026 14:25:42 +0200 Subject: [PATCH] refactor: Use create_new_rpc_connection in wallet_multiwallet.py --- test/functional/wallet_multiwallet.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/functional/wallet_multiwallet.py b/test/functional/wallet_multiwallet.py index 6240126ccba..4f855ee0cf9 100755 --- a/test/functional/wallet_multiwallet.py +++ b/test/functional/wallet_multiwallet.py @@ -20,7 +20,6 @@ from test_framework.util import ( assert_equal, assert_raises_rpc_error, ensure_for, - get_rpc_proxy, ) got_loading_error = False @@ -328,7 +327,7 @@ class MultiWalletTest(BitcoinTestFramework): self.log.info("Concurrent wallet loading") threads = [] for _ in range(3): - n = node.cli if self.options.usecli else get_rpc_proxy(node.url, 1, timeout=600, coveragedir=node.coverage_dir) + n = node.create_new_rpc_connection() t = Thread(target=test_load_unload, args=(n, wallet_names[2])) t.start() threads.append(t)