From 0d344a907c389c907f3f05bc25bfdfb6537c297f Mon Sep 17 00:00:00 2001 From: tecnovert Date: Wed, 14 Feb 2024 13:04:32 +0200 Subject: [PATCH] tests: Fix tests. --- tests/basicswap/test_btc_xmr.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/basicswap/test_btc_xmr.py b/tests/basicswap/test_btc_xmr.py index cc14cf5..e548dad 100644 --- a/tests/basicswap/test_btc_xmr.py +++ b/tests/basicswap/test_btc_xmr.py @@ -122,6 +122,8 @@ class TestFunctions(BaseTest): 'address': js_w[coin_ticker][address_type], 'subfee': False, } + if coin in (Coins.XMR, ): + post_json['sweepall'] = False if coin in (Coins.PART_BLIND, Coins.PART_ANON): post_json['type_to'] = type_to json_rv = read_json_api(port_take_from_node, 'wallets/{}/withdraw'.format(coin_ticker.lower()), post_json)