From 8cb82df055b8013374d881a33cfbb14cb62ae402 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 8 Dec 2024 17:20:24 +0100 Subject: [PATCH] chore: simplify dry_wallets call --- freqtrade/wallets.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/freqtrade/wallets.py b/freqtrade/wallets.py index fb27d5e5d..75bd9a505 100644 --- a/freqtrade/wallets.py +++ b/freqtrade/wallets.py @@ -145,9 +145,8 @@ class Wallets: used=used_stake, total=total_stake, ) - for currency in self._start_cap: + for currency, bal in self._start_cap.items(): if currency not in _wallets: - bal = self._start_cap[currency] _wallets[currency] = Wallet(currency, bal, 0, bal) self._wallets = _wallets