Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ametel01 committed Nov 19, 2024
1 parent b4cb468 commit f7553ce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion crates/eth-rlp-verify/src/eras/dencun.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
1 change: 0 additions & 1 deletion crates/eth-rlp-verify/src/eras/shapella.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit f7553ce

Please sign in to comment.