Skip to content

Commit 69e6e23

Browse files
committed
fix
1 parent 1062d00 commit 69e6e23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmarks/ens/fake_rpc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ def fake_json_rpc_response(request_data: dict):
4141
}
4242
else:
4343
return {"jsonrpc": "2.0", "id": request_data["id"], "result": "0x"}
44-
# Default: always return a valid result for any other method
45-
return {"jsonrpc": "2.0", "id": request_data["id"], "result": None}
44+
# Default: always return a valid hex string for any other method
45+
return {"jsonrpc": "2.0", "id": request_data["id"], "result": "0x"}

0 commit comments

Comments
 (0)