mirror of
https://github.com/arnaucube/snarkjs.git
synced 2026-02-28 05:56:44 +01:00
small fix bn128.js/_preparePairing/loopCount.neg()
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user