diff --git a/basicswap/basicswap.py b/basicswap/basicswap.py index d6c42c6..fe1cce2 100644 --- a/basicswap/basicswap.py +++ b/basicswap/basicswap.py @@ -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) diff --git a/basicswap/http_server.py b/basicswap/http_server.py index 214ec84..e9d605f 100644 --- a/basicswap/http_server.py +++ b/basicswap/http_server.py @@ -469,21 +469,20 @@ class HttpHandler(BaseHTTPRequestHandler): def page_watched(self, url_split, post_string): swap_client = self.server.swap_client watched_outputs, last_scanned = swap_client.listWatchedOutputs() - - content = html_content_start(self.server.title, self.server.title) \ - + '
' + getCoinName(c[0]) + ' Scanned Height: ' + str(c[1]) + '
' - - content += 'Bid ID | Chain | Txid | Index | Type |
---|---|---|---|---|
{0} | {1} | {2} | {3} | {4} |