ui: Add indication when XMR node is bootstrapping

This commit is contained in:
tecnovert
2022-07-06 14:35:35 +02:00
parent 1b7550ff76
commit 868dc27d64
6 changed files with 69 additions and 71 deletions

View File

@@ -73,7 +73,8 @@ def js_wallets(self, url_split, post_string, is_json):
return bytes(json.dumps(withdraw_coin(swap_client, coin_type, post_string, is_json)), 'UTF-8')
raise ValueError('Unknown command')
rv = swap_client.getWalletInfo(coin_type).update(swap_client.getBlockchainInfo(coin_type))
rv = swap_client.getWalletInfo(coin_type)
rv.update(swap_client.getBlockchainInfo(coin_type))
return bytes(json.dumps(rv), 'UTF-8')
return bytes(json.dumps(self.server.swap_client.getWalletsInfo()), 'UTF-8')