mirror of
https://github.com/hanzoai/elliptic.git
synced 2026-09-23 23:51:03 +00:00
lib: remove unreachable code
This commit is contained in:
committed by
Fedor Indutny
parent
8628295cde
commit
fc8f0ee115
@@ -425,7 +425,6 @@ Point.prototype.eqXToP = function eqXToP(x) {
|
||||
if (this.x.cmp(rx) === 0)
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
// Compatibility with BaseCurve
|
||||
|
||||
@@ -921,7 +921,6 @@ JPoint.prototype.eqXToP = function eqXToP(x) {
|
||||
if (this.x.cmp(rx) === 0)
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
JPoint.prototype.inspect = function inspect() {
|
||||
|
||||
Reference in New Issue
Block a user