From e4e2340f91ffacdfe971be8387cb9d1c36ad074f Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 10 Jul 2021 10:02:05 +0200 Subject: [PATCH] Fix bug where currencies are duplicated in case there is dust --- freqtrade/rpc/telegram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/rpc/telegram.py b/freqtrade/rpc/telegram.py index 171a53ca1..319a6c9c0 100644 --- a/freqtrade/rpc/telegram.py +++ b/freqtrade/rpc/telegram.py @@ -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"