Merge branch 'master' of github.com:iden3/snarkjs

This commit is contained in:
Jordi Baylina 2018-11-09 10:20:24 +01:00
commit bd48938152
No known key found for this signature in database
GPG Key ID: 7480C80C1BE43112
2 changed files with 3 additions and 3 deletions

4
cli.js
View File

@ -169,11 +169,11 @@ generate call parameters
snarkjs generatecall <options> snarkjs generatecall <options>
Outputs into the console the raw parameters to be used in 'verifyProof' Outputs into the console the raw parameters to be used in 'verifyProof'
method of the solidity verifier. method of the solidity verifier function.
-p or --proof -p or --proof
Input filenam with the zero knowlage proof you want to use Input filename with the zero knowlage proof you want to use
Default: proof.json Default: proof.json

View File

@ -66,7 +66,7 @@ class BN128 {
// Set loopCountNeg // Set loopCountNeg
if (this.loopCount.isNegative()) { if (this.loopCount.isNegative()) {
this.loopCount = this.neg(); this.loopCount = this.loopCount.neg();
this.loopCountNeg = true; this.loopCountNeg = true;
} else { } else {
this.loopCountNeg = false; this.loopCountNeg = false;