small fix bn128.js/_preparePairing/loopCount.neg()
arnaucube arnaucube@gmail.com
Thu, 01 Nov 2018 20:23:57 +0100
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;