ui: Add swap type.

This commit is contained in:
tecnovert
2022-12-18 16:45:07 +02:00
parent fb5e8ff8b1
commit 2a3d89b112
9 changed files with 223 additions and 33 deletions

View File

@@ -174,6 +174,7 @@ def js_offers(self, url_split, post_string, is_json, sent=False):
ci_from = swap_client.ci(o.coin_from)
ci_to = swap_client.ci(o.coin_to)
rv.append({
'swap_type': o.swap_type,
'addr_from': o.addr_from,
'addr_to': o.addr_to,
'offer_id': o.offer_id.hex(),