mirror of
https://github.com/basicswap/basicswap.git
synced 2025-12-04 14:37:07 +01:00
ui: Add wallet_blocks to XMR wallet page.
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user