Skip to content

Commit

Permalink
Fix incomplete test.
Browse files Browse the repository at this point in the history
  • Loading branch information
calina-c committed Oct 25, 2023
1 parent f73ed78 commit 2c17baf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ocean_lib/ocean/ocean.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ def __init__(self, config_dict: Dict, data_provider: Optional[Type] = None) -> N
if "web3_instance" not in config_dict:
config_errors["web3_instance"] = "required"

if "NETWORK_NAME" not in config_dict:
config_errors["NETWORK_NAME"] = "required"

if config_errors:
raise Exception(json.dumps(config_errors))

Expand Down

0 comments on commit 2c17baf

Please sign in to comment.