Skip to content

Commit

Permalink
Update etherscan message
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Sep 4, 2024
1 parent 0b8860f commit b2af2a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion boa/explorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def _fetch_etherscan(
res = SESSION.get(uri, params=params)
res.raise_for_status()
data = res.json()
if data.get("result") != "Max rate limit reached":
if "rate limit" not in data.get("result", "") or data.get("status") != "0":
break
sleep(backoff_ms / 1000)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "curve-boa"
version = "0.1.10.0"
version = "0.1.10.1"
description = "A Vyper interpreter"
#authors = []
license = { file = "LICENSE" }
Expand Down

0 comments on commit b2af2a3

Please sign in to comment.