Fix bug where currencies are duplicated

in case there is dust
This commit is contained in:
Matthias 2021-07-10 10:02:05 +02:00
parent 6129c5ca9e
commit e4e2340f91

View File

@ -600,8 +600,8 @@ class Telegram(RPCHandler):
)
total_dust_balance = 0
total_dust_currencies = 0
curr_output = ''
for curr in result['currencies']:
curr_output = ''
if curr['est_stake'] > balance_dust_level:
curr_output = (
f"*{curr['currency']}:*\n"