mirror of
https://github.com/arnaucube/circomlib.git
synced 2026-02-06 18:56:43 +01:00
Change pedersen length to 251
This commit is contained in:
@@ -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]")];
|
||||
|
||||
Reference in New Issue
Block a user