Skip to content

Commit

Permalink
Update show-tps.py
Browse files Browse the repository at this point in the history
  • Loading branch information
0g-wh authored Nov 12, 2024
1 parent 938a325 commit 1c00e3d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions show-tps.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

def getTPS(url):
response = requests.get(url, headers=headers)
print(url, response.status_code)
if response.status_code == 200:
zip_file = zipfile.ZipFile(io.BytesIO(response.content))

Expand Down Expand Up @@ -57,7 +56,7 @@ def getTPS(url):

for chain, contracts in res.items():
row = [chain]
for contract_type in ["ERC20", "Simple", "Uniswap"]:
for contract_type in ["Simple", "ERC20", "Uniswap"]:
tps, gas_used = contracts[contract_type]
if tps is None or gas_used is None:
row.append("")
Expand Down

0 comments on commit 1c00e3d

Please sign in to comment.