Merge pull request #6 from arnaucube/master
small fix bn128.js/_preparePairing/loopCount.neg()
This commit is contained in:
commit
696e20f82b
@ -66,7 +66,7 @@ class BN128 {
|
|||||||
|
|
||||||
// Set loopCountNeg
|
// Set loopCountNeg
|
||||||
if (this.loopCount.isNegative()) {
|
if (this.loopCount.isNegative()) {
|
||||||
this.loopCount = this.neg();
|
this.loopCount = this.loopCount.neg();
|
||||||
this.loopCountNeg = true;
|
this.loopCountNeg = true;
|
||||||
} else {
|
} else {
|
||||||
this.loopCountNeg = false;
|
this.loopCountNeg = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user