Merge pull request #2411 from freqtrade/fix/2369

Correctly pass validate flag to fallback exchange too
This commit is contained in:
hroff-1902 2019-10-22 20:14:44 +03:00 committed by GitHub
commit b4f4fae0ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: