ui: Display watched outputs once per coin.

2024-05-20_merge
tecnovert 3 years ago
parent 20c59663c1
commit fafcfa4731
No known key found for this signature in database
GPG Key ID: 8ED6D8750C4E3F93
  1. 4
      basicswap/basicswap.py

@ -5073,6 +5073,8 @@ class BasicSwap(BaseApp):
def getSummary(self, opts=None):
num_watched_outputs = 0
for c, v in self.coin_clients.items():
if c in (Coins.PART_ANON, Coins.PART_BLIND):
continue
num_watched_outputs += len(v['watched_outputs'])
bids_sent = 0
@ -5338,6 +5340,8 @@ class BasicSwap(BaseApp):
rv = []
rv_heights = []
for c, v in self.coin_clients.items():
if c in (Coins.PART_ANON, Coins.PART_BLIND): # exclude duplicates
continue
if self.coin_clients[c]['connection_type'] == 'rpc':
rv_heights.append((c, v['last_height_checked']))
for o in v['watched_outputs']:

Loading…
Cancel
Save