From bba3f84efb5f121268d968ff14ad58c8231e78ae Mon Sep 17 00:00:00 2001 From: "George C. Knee" Date: Wed, 9 Jun 2021 12:30:12 +0100 Subject: [PATCH] fix typo --- lib/elliptic/ec/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/elliptic/ec/index.js b/lib/elliptic/ec/index.js index 8b58781f..6a05dd7c 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)