We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85cd15a commit d66c80dCopy full SHA for d66c80d
crates/aptos-dkg/src/weighted_vuf/pinkas/mod.rs
@@ -257,12 +257,8 @@ impl WeightedVUF for PinkasWUF {
257
258
let lhs: Vec<G1Projective> = pis.into_iter().chain([pp.g_neg]).collect();
259
let rhs: Vec<G2Projective> = shares.into_iter().chain([h.mul(sum_of_taus)]).collect();
260
- if parallel_multi_pairing(
261
- lhs.iter(),
262
- rhs.iter(),
263
- thread_pool,
264
- MIN_MULTIPAIR_NUM_JOBS,
265
- ) != Gt::identity()
+ if parallel_multi_pairing(lhs.iter(), rhs.iter(), thread_pool, MIN_MULTIPAIR_NUM_JOBS)
+ != Gt::identity()
266
{
267
bail!("Multipairing check in batched aggregate verification failed");
268
}
0 commit comments