arnaucube
arnaucube/snarkjsPublic Self-hosted repository
small fix bn128.js/_preparePairing/loopCount.neg()
arnaucube arnaucube@gmail.com
Thu, 01 Nov 2018 20:23:57 +0100
commit

0e9f632c46144efc383e0f1d98c5bfc497e46a8a

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;