diff --git a/cli.js b/cli.js index 0428de1..951e74d 100755 --- a/cli.js +++ b/cli.js @@ -169,11 +169,11 @@ generate call parameters snarkjs generatecall 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 - 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 diff --git a/src/bn128.js b/src/bn128.js index eb1df3e..105ec81 100644 --- a/src/bn128.js +++ b/src/bn128.js @@ -66,7 +66,7 @@ class BN128 { // Set loopCountNeg if (this.loopCount.isNegative()) { - this.loopCount = this.neg(); + this.loopCount = this.loopCount.neg(); this.loopCountNeg = true; } else { this.loopCountNeg = false;