diff --git a/crates/eth-rlp-verify/src/eras/dencun.rs b/crates/eth-rlp-verify/src/eras/dencun.rs index 293cd5f..eb5132f 100644 --- a/crates/eth-rlp-verify/src/eras/dencun.rs +++ b/crates/eth-rlp-verify/src/eras/dencun.rs @@ -246,7 +246,7 @@ pub fn verify_hash_dencun(block_hash: String, db_header: VerifiableBlockHeader) let computed_block_hash = header.compute_hash(); // Check if the computed hash matches the given block hash - computed_block_hash == H256::from_str(&block_hash).unwrap() + computed_block_hash == H256::from_str(&block_hash).unwrap() } #[cfg(test)] diff --git a/crates/eth-rlp-verify/src/eras/shapella.rs b/crates/eth-rlp-verify/src/eras/shapella.rs index c729aed..899d27b 100644 --- a/crates/eth-rlp-verify/src/eras/shapella.rs +++ b/crates/eth-rlp-verify/src/eras/shapella.rs @@ -218,7 +218,6 @@ impl BlockHeaderTrait for BlockHeaderShapella { pub fn verify_hash_shapella(block_hash: String, db_header: VerifiableBlockHeader) -> bool { let header = BlockHeaderShapella::from_db_header(db_header); - // Compute the block hash let computed_block_hash = header.compute_hash();