Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
muursh committed Mar 22, 2024
1 parent 4e3df65 commit 57ea909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpt_trie/src/trie_hashing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ mod tests {
let entries_to_delete = entries.into_iter().take(half_entries);
for (k, _) in entries_to_delete {
let res = our_trie.delete(k);
assert_eq!(res.is_ok(), true, "Failed to delete key: {:?}", k);
assert!(res.is_ok(), "Failed to delete key: {:?}", k);
truth_trie.remove(&k.bytes_be()).unwrap();

let truth_root_hash = H256(truth_trie.root_hash().unwrap().0);
Expand Down

0 comments on commit 57ea909

Please sign in to comment.