Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
geoknee authored Jun 9, 2021
1 parent 43ac7f2 commit bba3f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elliptic/ec/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bba3f84

Please sign in to comment.