Correctly pass validate flag to fallback exchange too

This commit is contained in:
Matthias 2019-10-22 14:02:47 +02:00
parent 3cf95f9f6c
commit 336808ec54

View File

@ -32,7 +32,7 @@ class ExchangeResolver(IResolver):
logger.info(
f"No {exchange_name} specific subclass found. Using the generic class instead.")
if not hasattr(self, "exchange"):
self.exchange = Exchange(config)
self.exchange = Exchange(config, validate=validate)
def _load_exchange(
self, exchange_name: str, kwargs: dict) -> Exchange: