Skip to content

Commit

Permalink
use is_one instead of Fqk::one
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenfeizhang committed May 20, 2022
1 parent 3c3ccff commit 6b95b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/multilinear_pc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ impl<E: PairingEngine> MultilinearPC<E> {
E::G2Prepared::from(verifier_param.h),
));

E::product_of_pairings(pairings.iter()) == E::Fqk::one()
E::product_of_pairings(pairings.iter()).is_one()
}
}

Expand Down

0 comments on commit 6b95b14

Please sign in to comment.