Skip to content

Commit

Permalink
Use hex chars only since bn.js 5.0.0 complains about non-hex chars
Browse files Browse the repository at this point in the history
  • Loading branch information
exoego committed Sep 11, 2019
1 parent 52c0adb commit 83ff218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ecdsa-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe('ECDSA', function() {

it('should have `signature.s <= keys.ec.nh`', function() {
// key.sign(msg, options)
var sign = keys.sign('hello', { canonical: true });
var sign = keys.sign('deadbeef', { canonical: true });
assert(sign.s.cmp(keys.ec.nh) <= 0);
});

Expand Down

0 comments on commit 83ff218

Please sign in to comment.