diff --git a/eth_defi/provider/llamarpc.py b/eth_defi/provider/llamarpc.py index 08211533..d74b0c5e 100644 --- a/eth_defi/provider/llamarpc.py +++ b/eth_defi/provider/llamarpc.py @@ -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 diff --git a/tests/provider/test_llamarpc.py b/tests/provider/test_llamarpc.py index 54506758..ccc3b06e 100644 --- a/tests/provider/test_llamarpc.py +++ b/tests/provider/test_llamarpc.py @@ -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 \ No newline at end of file + assert web3.eth.block_number > 1