Skip to content

Commit

Permalink
Fix print
Browse files Browse the repository at this point in the history
  • Loading branch information
nivcertora committed Dec 29, 2024
1 parent b9a1d96 commit 04d87a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Quorum/apis/block_explorers/chains_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(self, chain: Chain) -> None:
chain_id = self.CHAIN_ID_MAP[chain]
api_key = os.getenv("ETHSCAN_API_KEY")
if not api_key:
raise ValueError(f"{chain}SCAN_API_KEY environment variable is not set.")
raise ValueError("ETHSCAN_API_KEY environment variable is not set.")

self.base_url = self.BASE_URL.format(chain_id=chain_id, api_key=api_key)

Expand Down

0 comments on commit 04d87a6

Please sign in to comment.