Fix bug where currencies are duplicated
in case there is dust
This commit is contained in:
parent
6129c5ca9e
commit
e4e2340f91
@ -600,8 +600,8 @@ class Telegram(RPCHandler):
|
|||||||
)
|
)
|
||||||
total_dust_balance = 0
|
total_dust_balance = 0
|
||||||
total_dust_currencies = 0
|
total_dust_currencies = 0
|
||||||
curr_output = ''
|
|
||||||
for curr in result['currencies']:
|
for curr in result['currencies']:
|
||||||
|
curr_output = ''
|
||||||
if curr['est_stake'] > balance_dust_level:
|
if curr['est_stake'] > balance_dust_level:
|
||||||
curr_output = (
|
curr_output = (
|
||||||
f"*{curr['currency']}:*\n"
|
f"*{curr['currency']}:*\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user