arnaucube
arnaucube/snarkjsPublic Self-hosted repository
Merge pull request #6 from arnaucube/master

small fix bn128.js/_preparePairing/loopCount.neg()
Jordi Baylina jordi@baylina.cat
Fri, 02 Nov 2018 10:00:52 +0100
commit

696e20f82b07ca7070258268326e046cd2e6f768

parent

ddc27b4c3521469695e6374a10d707e348ba1218

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/bn128.js → src/bn128.js

@@ -66,7 +66,7 @@ this.loopCount = bigInt("29793968203157093288");// CONSTANT

// Set loopCountNeg if (this.loopCount.isNegative()) { - this.loopCount = this.neg(); + this.loopCount = this.loopCount.neg(); this.loopCountNeg = true; } else { this.loopCountNeg = false;