From fafcfa4731fb024d3e16312aee7d894d4beec06a Mon Sep 17 00:00:00 2001 From: tecnovert Date: Mon, 15 Nov 2021 01:47:49 +0200 Subject: [PATCH] ui: Display watched outputs once per coin. --- basicswap/basicswap.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/basicswap/basicswap.py b/basicswap/basicswap.py index 4a09b4d..0cec36b 100644 --- a/basicswap/basicswap.py +++ b/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']: