Fix mutable arg in freqtradebot

This commit is contained in:
Matthias
2024-04-20 09:08:04 +02:00
parent 3d4250ca99
commit 9b1def604f
+1 -1
View File
@@ -278,7 +278,7 @@ class FreqtradeBot(LoggingMixin):
} }
self.rpc.send_msg(msg) self.rpc.send_msg(msg)
def _refresh_active_whitelist(self, trades: List[Trade] = []) -> List[str]: def _refresh_active_whitelist(self, trades: Optional[List[Trade]] = None) -> List[str]:
""" """
Refresh active whitelist from pairlist or edge and extend it with Refresh active whitelist from pairlist or edge and extend it with
pairs that have open trades. pairs that have open trades.