Skip to content

Commit

Permalink
Fix fallback fetch chain info for sp in dn (#3988)
Browse files Browse the repository at this point in the history
  • Loading branch information
jowlee committed Oct 3, 2022
1 parent 8941639 commit ebc5d93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion discovery-provider/src/utils/eth_manager.py
Expand Up @@ -78,8 +78,9 @@ def fetch_node_info(
}

endpoint_info = self.sp_factory.functions.getServiceEndpointInfo(
sp_type, sp_id
sp_type.value, sp_id
).call()

set_json_cached_key(redis, sp_id_key, endpoint_info, self.cnode_info_redis_ttl)
logger.info(
f"eth_manager.py | Configured redis {sp_id_key} - {endpoint_info} - TTL {self.cnode_info_redis_ttl}"
Expand Down

0 comments on commit ebc5d93

Please sign in to comment.