chore: remove pointless validation

pairs are validated through expand_pairlist.
If they're not in markets, they'll no longer be in the
pairlist once this function function is hit.
This commit is contained in:
Matthias 2024-09-15 11:02:49 +02:00
parent 79020bba28
commit 7ebe1b8c14

View File

@ -610,9 +610,6 @@ def download_data_main(config: Config) -> None:
if "timeframes" not in config: if "timeframes" not in config:
config["timeframes"] = DL_DATA_TIMEFRAMES config["timeframes"] = DL_DATA_TIMEFRAMES
# Manual validations of relevant settings
if not config["exchange"].get("skip_pair_validation", False):
exchange.validate_pairs(expanded_pairs)
logger.info( logger.info(
f"About to download pairs: {expanded_pairs}, " f"About to download pairs: {expanded_pairs}, "
f"intervals: {config['timeframes']} to {config['datadir']}" f"intervals: {config['timeframes']} to {config['datadir']}"