Skip to content

Commit

Permalink
chore: fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Dec 30, 2023
1 parent 2d3a0a2 commit 6dba800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commit_verify/src/mpc/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ mod test {

let (pid, msg) = msgs.first_key_value().unwrap();
let leaf = Leaf::inhabited(*pid, *msg);
let cid1 = block.cross_section.get(0).unwrap().to_merkle_node();
let cid1 = block.cross_section.first().unwrap().to_merkle_node();
let cid2 = leaf.commitment_id();
assert_eq!(cid1, cid2);

Expand Down

0 comments on commit 6dba800

Please sign in to comment.