diff --git a/lib/elliptic/ec/index.js b/lib/elliptic/ec/index.js index 8b58781..6a05dd7 100644 --- a/lib/elliptic/ec/index.js +++ b/lib/elliptic/ec/index.js @@ -206,7 +206,7 @@ EC.prototype.recoverPubKey = function(msg, signature, j, enc) { var isYOdd = j & 1; var isSecondKey = j >> 1; if (r.cmp(this.curve.p.umod(this.curve.n)) >= 0 && isSecondKey) - throw new Error('Unable to find sencond key candinate'); + throw new Error('Unable to find second key candinate'); // 1.1. Let x = r + jn. if (isSecondKey)