Merge branch 'master' of github.com:iden3/snarkjs
This commit is contained in:
commit
bd48938152
4
cli.js
4
cli.js
@ -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
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user