diff --git a/src/config.py b/src/config.py index 5ca58ccd..65c14ad8 100644 --- a/src/config.py +++ b/src/config.py @@ -202,6 +202,6 @@ def get_accounting_config(network: str) -> AccountingConfig: return result -config = get_accounting_config(os.environ["NETWORK"]) +config = get_accounting_config(os.environ.get("NETWORK", "mainnet")) web3 = Web3(Web3.HTTPProvider(config.node_config.node_url))