Fix "disappearing pairs" bug

closes #4277
This commit is contained in:
Matthias
2021-02-01 19:40:31 +01:00
parent 130a9b4db3
commit 52acf9aaf6
2 changed files with 3 additions and 16 deletions

View File

@@ -168,7 +168,7 @@ class IPairList(LoggingMixin, ABC):
# Check if market is active
market = markets[pair]
if not market_is_active(market):
logger.info(f"Ignoring {pair} from whitelist. Market is not active.")
self.log_once(f"Ignoring {pair} from whitelist. Market is not active.", logger.info)
continue
if pair not in sanitized_whitelist:
sanitized_whitelist.append(pair)