From 0697041f146fa1f4d3aaa74a0af6419d0a57143f Mon Sep 17 00:00:00 2001 From: Timothy Pogue Date: Mon, 12 Sep 2022 14:09:12 -0600 Subject: [PATCH] remove copy statement where not needed --- freqtrade/rpc/external_message_consumer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/rpc/external_message_consumer.py b/freqtrade/rpc/external_message_consumer.py index 89edc8417..a9fdd62ca 100644 --- a/freqtrade/rpc/external_message_consumer.py +++ b/freqtrade/rpc/external_message_consumer.py @@ -292,7 +292,7 @@ class ExternalMessageConsumer: return # Add the pairlist data to the DataProvider - self._dp._set_producer_pairs(whitelist_message.data.copy(), producer_name=producer_name) + self._dp._set_producer_pairs(whitelist_message.data, producer_name=producer_name) logger.debug(f"Consumed message from `{producer_name}` of type `RPCMessageType.WHITELIST`")