Skip to content

Commit

Permalink
Black
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama committed Sep 20, 2023
1 parent 4894ab0 commit 1017f07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eth_defi/provider/llamarpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ def is_llama_bad_grapql_reply(resp: Response):
"""
try:
content = resp.json()
return content.get("error").get("message") == 'UserKey was not a ULID or UUID'
return content.get("error").get("message") == "UserKey was not a ULID or UUID"
except Exception:
return False
2 changes: 1 addition & 1 deletion tests/provider/test_llamarpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ def test_llama_is_bad():
provider = HTTPProvider(JSON_RPC_LLAMA)
web3 = Web3(provider)
assert not has_graphql_support(provider)
assert web3.eth.block_number > 1
assert web3.eth.block_number > 1

0 comments on commit 1017f07

Please sign in to comment.