test fix for failed abi lookup

This commit is contained in:
agatha 2024-06-08 14:41:38 -04:00
parent a80317083e
commit 88347ac824

View File

@ -40,6 +40,9 @@ class EventMonitor:
token_abi = fetch_abi(token_address, key=self.config['etherscan_key'])
except Exception as err:
logger.warning(f"Failed to fetch info for {token_address}: {err}")
token_abi = None
if not token_abi:
return {
'name': None,
'symbol': None,