Browse Source

Let `ark-curve-constraint-tests` work with latest arkworks-rs algebra (#112)

cherry-pick
Weikeng Chen 2 years ago
committed by GitHub
parent
commit
6d94362894
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      curve-constraint-tests/src/lib.rs

+ 1
- 1
curve-constraint-tests/src/lib.rs

@ -340,7 +340,7 @@ pub mod curves {
// Check scalar mul with edge cases // Check scalar mul with edge cases
for scalar in scalars.iter() { for scalar in scalars.iter() {
let native_result = a_native.mul(scalar);
let native_result = a_native.mul_bigint(scalar);
let native_result = native_result.into_affine(); let native_result = native_result.into_affine();
let scalar_bits: Vec<bool> = BitIteratorLE::new(&scalar).collect(); let scalar_bits: Vec<bool> = BitIteratorLE::new(&scalar).collect();

Loading…
Cancel
Save