Fix bug where currencies are duplicated
in case there is dust
This commit is contained in:
@@ -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"
|
||||||
|
Reference in New Issue
Block a user