ui: Add wallet_blocks to XMR wallet page.

This commit is contained in:
tecnovert
2024-11-29 12:30:36 +02:00
parent 0dc55fc449
commit 037851a002
5 changed files with 20 additions and 7 deletions

View File

@@ -292,6 +292,7 @@ class XMRInterface(CoinInterface):
rv = {}
balance_info = self.rpc_wallet("get_balance")
rv["wallet_blocks"] = self.rpc_wallet("get_height")["height"]
rv["balance"] = self.format_amount(balance_info["unlocked_balance"])
rv["unconfirmed_balance"] = self.format_amount(
balance_info["balance"] - balance_info["unlocked_balance"]