Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pharr117 committed Sep 4, 2023
1 parent 1401965 commit c5b6233
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def fetch_data_for_network(network, network_type, repo_path):
chain_json_path = os.path.join(repo_path, 'testnets', network, 'chain.json')
else:
raise ValueError(f"Invalid network type: {network_type}")

err_output_data = {
"network": network,
"error": "insufficient data in Cosmos chain registry, consider a PR to cosmos/chain-registry",
Expand Down Expand Up @@ -378,7 +378,7 @@ def fetch_data_for_network(network, network_type, repo_path):
#this is where the "no upgrades found block runs"
rest_server_used = current_endpoint
break


# Calculate average block time
current_block_time = get_block_time_rpc(rpc_server_used, latest_block_height)
Expand Down Expand Up @@ -438,7 +438,7 @@ def update_data():
if os.path.isdir(os.path.join(repo_path, d))
and not d.startswith(('.', '_'))
and d != "testnets"]

if len(CHAIN_WATCH) != 0:
mainnet_networks = [d for d in mainnet_networks if d in CHAIN_WATCH]

Expand Down

0 comments on commit c5b6233

Please sign in to comment.