test fix for failed abi lookup
This commit is contained in:
parent
a80317083e
commit
88347ac824
@ -40,6 +40,9 @@ class EventMonitor:
|
|||||||
token_abi = fetch_abi(token_address, key=self.config['etherscan_key'])
|
token_abi = fetch_abi(token_address, key=self.config['etherscan_key'])
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
logger.warning(f"Failed to fetch info for {token_address}: {err}")
|
logger.warning(f"Failed to fetch info for {token_address}: {err}")
|
||||||
|
token_abi = None
|
||||||
|
|
||||||
|
if not token_abi:
|
||||||
return {
|
return {
|
||||||
'name': None,
|
'name': None,
|
||||||
'symbol': None,
|
'symbol': None,
|
||||||
|
Loading…
Reference in New Issue
Block a user