tests: Add use_segwit to required settings.

This commit is contained in:
tecnovert
2022-02-05 01:13:47 +02:00
parent d6f6a73324
commit 843379325f
2 changed files with 17 additions and 8 deletions

View File

@@ -493,7 +493,6 @@ class HttpHandler(BaseHTTPRequestHandler):
if swap_client.debug is True:
swap_client.log.error(traceback.format_exc())
swap_client.updateWalletsInfo()
wallets = swap_client.getCachedWalletsInfo({'coin_id': coin_id})
for k in wallets.keys():
@@ -569,7 +568,7 @@ class HttpHandler(BaseHTTPRequestHandler):
unspent_by_addr = swap_client.getUnspentsByAddr(k)
sorted_unspent_by_addr = sorted(unspent_by_addr.items(), key=lambda x:x[1], reverse=True)
sorted_unspent_by_addr = sorted(unspent_by_addr.items(), key=lambda x: x[1], reverse=True)
for kv in sorted_unspent_by_addr:
utxo_groups += kv[0] + ' ' + ci.format_amount(kv[1]) + '\n'