Skip to content

Commit

Permalink
fixup: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Nov 3, 2020
1 parent 06448d3 commit 3cbc028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phase2/src/small.rs
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ pub fn verify_contribution_small(before: &MPCSmall, after: &MPCSmall) -> Result<
return Err(());
}

let before_is_initial = before.contributions.len() == 0;
let before_is_initial = before.contributions.is_empty();
let after_pubkey = after.contributions.last().unwrap();

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

0 comments on commit 3cbc028

Please sign in to comment.