From 0e9f632c46144efc383e0f1d98c5bfc497e46a8a Mon Sep 17 00:00:00 2001 From: arnaucube Date: Thu, 1 Nov 2018 20:23:57 +0100 Subject: [PATCH] small fix bn128.js/_preparePairing/loopCount.neg() --- src/bn128.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;