fix standard 11 issues

This commit is contained in:
Daniel Cousens 2018-05-29 11:37:03 +10:00
parent b2d34c5fa8
commit 4aaf295cd5
5 changed files with 9 additions and 9 deletions

View file

@ -255,7 +255,7 @@ describe('ECPair', function () {
it('wraps ecdsa.verify', hoodwink(function () {
this.mock(ecdsa, 'verify', function (h, s, q) {
assert.strictEqual(h, hash)
// assert.strictEqual(s, signature)
// assert.strictEqual(s, signature)
assert.deepEqual(s, {
r: BigInteger.fromBuffer(signature.slice(0, 32)),
s: BigInteger.fromBuffer(signature.slice(32, 64))