Skip to content

Commit

Permalink
fix clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
zvolin committed Aug 30, 2024
1 parent 76608a3 commit d1bfd20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tendermint/src/merkle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ mod tests {
let empty_tree_root_hex =
"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";
let empty_tree_root = &hex::decode(empty_tree_root_hex).unwrap();
let empty_tree: Vec<Vec<u8>> = vec![vec![]; 0];
let empty_tree: Vec<Vec<u8>> = vec![];

let root = simple_hash_from_byte_vectors::<Sha256>(&empty_tree);
assert_eq!(empty_tree_root, &root);
Expand Down

0 comments on commit d1bfd20

Please sign in to comment.