1
0

test accounting_addresses: stop alice before requesting, because we need a new session.

(follow-up 9b72dc297b)
This commit is contained in:
ThomasV
2025-12-05 11:31:27 +01:00
parent ef0e4e02b7
commit 40729aa0e5

View File

@@ -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