We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe375dd commit a38c6f3Copy full SHA for a38c6f3
src/group/msm.rs
@@ -84,7 +84,7 @@ fn msm_internal<G: PrimeGroup>(bases: &[G], scalars: &[G::Scalar]) -> G {
84
window_buckets.push((window, vec![G::identity(); buckets_num]));
85
}
86
87
- for (scalar, base) in scalars.into_iter().zip(bases) {
+ for (scalar, base) in scalars.iter().zip(bases) {
88
for (w, bucket) in window_buckets.iter_mut() {
89
let scalar_repr = scalar.to_repr();
90
let scalar_bytes = scalar_repr.as_ref();
0 commit comments