Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
dshiell committed Aug 9, 2024
1 parent 5414c4c commit 87c0aaf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rpc_cache_handler/eth_get_logs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ impl RpcCacheHandler for Handler {
if let Some(block_hash) = filter["blockHash"].as_str() {
if let Ok(block_hash) = B256::from_str(block_hash) {
block_tag = Some(format!("{:#x}", block_hash));
} else {
bail!("expect a valid block hash");
}
}

Expand Down

0 comments on commit 87c0aaf

Please # to comment.