From 40729aa0e534f0ce3e4a08828bf7fbdf2d257a04 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 5 Dec 2025 11:31:27 +0100 Subject: [PATCH] test accounting_addresses: stop alice before requesting, because we need a new session. (follow-up 9b72dc297b799a01b03a95c25aec75bd4f492543) --- tests/regtest/regtest.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/regtest/regtest.sh b/tests/regtest/regtest.sh index 718696a4b..cafe70f35 100755 --- a/tests/regtest/regtest.sh +++ b/tests/regtest/regtest.sh @@ -346,7 +346,8 @@ if [[ $1 == "swapserver_forceclose" ]]; then wait_for_balance bob 0.999 # check that the closing tx is in alice's onchain_history. Since this tx does not # touch alice's wallet addresses, this test requires accounting_addresses to be set - if [[ ! $($alice onchain_history| jq --arg txid $ctx_id '.[]|select(.txid == $txid)') ]]; then + $alice stop + if [[ ! $($alice -o onchain_history| jq --arg txid $ctx_id '.[]|select(.txid == $txid)') ]]; then echo "accounting_address not set" exit 1 fi