Skip to content

Commit 089e9a6

Browse files
committed
Remove type
1 parent 7e8aaf9 commit 089e9a6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/crypto/benches/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,7 @@ where
160160
for i in 0..=two_pow_max {
161161
let n = 2_usize.pow(i); // the number of pairings on the left hand side
162162
let k = n + 1; // the number of pairings in total
163-
let messages: &[ark_ec::short_weierstrass::Affine<ark_bls12_381::g2::Config>] =
164-
&messages[..n];
163+
let messages = &messages[..n];
165164
let keys = &public_keys[..n];
166165
let aggregated_signature: G2Affine =
167166
signatures[..n].iter().sum::<G2Projective>().into();

0 commit comments

Comments
 (0)