Fixing error log on inactive wallet

This commit is contained in:
Jean-Baptiste LE STANG 2018-01-02 15:15:59 +01:00
parent 3f65fc014e
commit 90236fb537

View File

@ -40,7 +40,6 @@ def refresh_whitelist(whitelist: List[str]) -> List[str]:
continue continue
if not status['IsActive']: if not status['IsActive']:
sanitized_whitelist.remove(pair) sanitized_whitelist.remove(pair)
else:
logger.info( logger.info(
'Ignoring %s from whitelist (reason: %s).', 'Ignoring %s from whitelist (reason: %s).',
pair, status.get('Notice') or 'wallet is not active' pair, status.get('Notice') or 'wallet is not active'