Skip to content

Commit

Permalink
misc: apply review suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
Wodann committed May 6, 2024
1 parent 0519bc6 commit 0449e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/edr_eth/src/remote/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ impl RpcClient {
request: SerializedRequest,
) -> Result<T, RpcClientError> {
let is_missing_trie_node_error =
error.code == -32000 && error.message.contains("missing trie node");
error.code == -32000 && error.message.to_lowercase().contains("missing trie node");

let result = if is_missing_trie_node_error {
self.send_request_body(&request)
Expand Down

0 comments on commit 0449e1b

Please sign in to comment.