Skip to content

Commit

Permalink
Update ssz-rs/src/merkleization/proofs.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
ralexstokes authored Sep 4, 2024
1 parent c9754be commit 327b863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssz-rs/src/merkleization/proofs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ pub fn is_valid_merkle_branch(
root: Node,
) -> Result<(), Error> {
if branch.len() != depth {
return Err(Error::InvalidProof);
return Err(Error::InvalidProof)
}

let mut derived_root = leaf;
Expand Down

0 comments on commit 327b863

Please sign in to comment.