Correctly pass validate flag to fallback exchange too
This commit is contained in:
parent
3cf95f9f6c
commit
336808ec54
@ -32,7 +32,7 @@ class ExchangeResolver(IResolver):
|
|||||||
logger.info(
|
logger.info(
|
||||||
f"No {exchange_name} specific subclass found. Using the generic class instead.")
|
f"No {exchange_name} specific subclass found. Using the generic class instead.")
|
||||||
if not hasattr(self, "exchange"):
|
if not hasattr(self, "exchange"):
|
||||||
self.exchange = Exchange(config)
|
self.exchange = Exchange(config, validate=validate)
|
||||||
|
|
||||||
def _load_exchange(
|
def _load_exchange(
|
||||||
self, exchange_name: str, kwargs: dict) -> Exchange:
|
self, exchange_name: str, kwargs: dict) -> Exchange:
|
||||||
|
Loading…
Reference in New Issue
Block a user