Skip to content

Commit

Permalink
Handle empty string NETWORK_NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytrotkk committed Jun 5, 2024
1 parent c899e43 commit e5e58d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics/src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

ERROR_TIMEOUT = os.getenv('MONITOR_INTERVAL', 60)
MONITOR_INTERVAL = os.getenv('MONITOR_INTERVAL', 10800)
NETWORK_NAME = os.getenv('NETWORK_NAME', 'mainnet')
NETWORK_NAME = os.getenv('NETWORK_NAME', 'mainnet') or 'mainnet'
ENDPOINT = os.environ['ETH_ENDPOINT']

PROXY_ENDPOINTS = {
Expand Down

0 comments on commit e5e58d5

Please sign in to comment.