Skip to content

Commit

Permalink
add old default for network
Browse files Browse the repository at this point in the history
since tests need this variable
  • Loading branch information
fhenneke committed Nov 4, 2024
1 parent ebabcf1 commit 6f6ce8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

0 comments on commit 6f6ce8b

Please sign in to comment.