Browse Source

Change pedersen length to 251

feature/synctests2
Jordi Baylina 5 years ago
parent
commit
fcc61f9237
No known key found for this signature in database GPG Key ID: 7480C80C1BE43112
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/pedersen.js

+ 1
- 1
test/pedersen.js

@ -88,7 +88,7 @@ describe("Double Pedersen test", function() {
it("Should pedersen all ones", async () => {
let w, xout, yout;
const allOnes = bigInt("1").shl(253).sub(bigInt("1"));
const allOnes = bigInt("1").shl(251).sub(bigInt("1"));
w = circuit.calculateWitness({ in: [allOnes, allOnes]});
xout = w[circuit.getSignalIdx("main.out[0]")];

Loading…
Cancel
Save