Skip to content

Commit 751794b

Browse files
fixup: linting
1 parent cae4b7f commit 751794b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/small.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ pub fn verify_contribution_small(before: &MPCSmall, after: &MPCSmall) -> Result<
618618
return Err(());
619619
}
620620

621-
let before_is_initial = before.contributions.len() == 0;
621+
let before_is_initial = before.contributions.is_empty();
622622
let after_pubkey = after.contributions.last().unwrap();
623623

624624
// Check that the before params' `delta_g1` and `delta_after` are the same value.

0 commit comments

Comments
 (0)