mirror of
https://github.com/basicswap/basicswap.git
synced 2024-11-16 15:58:17 +00:00
ui: Fix blind balance scientific notation
This commit is contained in:
parent
c5ab11d015
commit
87937ec0ac
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ def format_wallet_data(swap_client, ci, w):
|
|||
|
||||
if ci.coin_type() == Coins.PART:
|
||||
wf['stealth_address'] = w.get('stealth_address', '?')
|
||||
wf['blind_balance'] = w.get('blind_balance', '?')
|
||||
wf['blind_balance'] = "{:.8f}".format(float(w['blind_balance']))
|
||||
if 'blind_unconfirmed' in w and float(w['blind_unconfirmed']) > 0.0:
|
||||
wf['blind_unconfirmed'] = w['blind_unconfirmed']
|
||||
wf['anon_balance'] = w.get('anon_balance', '?')
|
||||
|
|
Loading…
Reference in a new issue