fix standard 11 issues
This commit is contained in:
parent
b2d34c5fa8
commit
4aaf295cd5
5 changed files with 9 additions and 9 deletions
test
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue