Browse Source
Merge pull request #6 from arnaucube/master
small fix bn128.js/_preparePairing/loopCount.neg()
master
Jordi Baylina
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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; |
|
|
|