tests: Fix tests.

2024-05-20_merge
tecnovert 10 months ago
parent 091e8da5e2
commit 0d344a907c
No known key found for this signature in database
GPG Key ID: 8ED6D8750C4E3F93
  1. 2
      tests/basicswap/test_btc_xmr.py

@ -122,6 +122,8 @@ class TestFunctions(BaseTest):
'address': js_w[coin_ticker][address_type], 'address': js_w[coin_ticker][address_type],
'subfee': False, 'subfee': False,
} }
if coin in (Coins.XMR, ):
post_json['sweepall'] = False
if coin in (Coins.PART_BLIND, Coins.PART_ANON): if coin in (Coins.PART_BLIND, Coins.PART_ANON):
post_json['type_to'] = type_to post_json['type_to'] = type_to
json_rv = read_json_api(port_take_from_node, 'wallets/{}/withdraw'.format(coin_ticker.lower()), post_json) json_rv = read_json_api(port_take_from_node, 'wallets/{}/withdraw'.format(coin_ticker.lower()), post_json)

Loading…
Cancel
Save