ui: Display count of locked UTXOs on wallet page.

This commit is contained in:
tecnovert committed 2024-01-28 20:16:30 +02:00
1 parent 30a5ea1652
commit 9ee6669179
10 files changed
+72 -9

No files matched your search

+2
View File
@@ -41,6 +41,8 @@ def format_wallet_data(swap_client, ci, w):
wf['bootstrapping'] = True
if 'known_block_count' in w:
wf['known_block_count'] = w['known_block_count']
if 'locked_utxos' in w:
wf['locked_utxos'] = w['locked_utxos']
if 'balance' in w and 'unconfirmed' in w:
wf['balance_all'] = float(w['balance']) + float(w['unconfirmed'])