Add disableall option to smsgaddresses command. Ensure used addresses are active.

This commit is contained in:
tecnovert committed 2024-06-06 22:03:41 +02:00
1 parent 3e4c3f10cf
commit c3cd1871ef
4 files changed
+95 -27

No files matched your search

+3 -3
View File
@@ -472,8 +472,8 @@ def page_newoffer(self, url_split, post_string):
'err_messages': err_messages,
'coins_from': coins_from,
'coins': coins_to,
'addrs': swap_client.listSmsgAddresses('offer_send_from'),
'addrs_to': swap_client.listSmsgAddresses('offer_send_to'),
'addrs': swap_client.listSMSGAddresses('offer_send_from'),
'addrs_to': swap_client.listSMSGAddresses('offer_send_to'),
'data': page_data,
'automation_strategies': automation_strategies,
'summary': summary,
@@ -677,7 +677,7 @@ def page_offer(self, url_split, post_string):
'err_messages': err_messages,
'data': data,
'bids': formatted_bids,
'addrs': None if show_bid_form is None else swap_client.listSmsgAddresses('bid'),
'addrs': None if show_bid_form is None else swap_client.listSMSGAddresses('bid'),
'summary': summary,
})