html: Template for watched outputs page.

This commit is contained in:
tecnovert
2019-07-25 23:15:35 +02:00
parent b920f926c1
commit 8623d291f1
4 changed files with 45 additions and 18 deletions

View File

@@ -2413,7 +2413,8 @@ class BasicSwap():
rv = []
rv_heights = []
for c, v in self.coin_clients.items():
rv_heights.append((c, v['last_height_checked']))
if self.coin_clients[c]['connection_type'] == 'rpc':
rv_heights.append((c, v['last_height_checked']))
for o in v['watched_outputs']:
rv.append((c, o[0], o[1], o[2], o[3]))
return (rv, rv_heights)