Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Commit 61487a1

Browse files
committed
Updated error msg in index.spec.ts .getPrivateKey() test to match with new msg from updated secp2561 v4 library
1 parent 5ec8756 commit 61487a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ describe('.getPrivateKey()', function() {
3535
it('should fail', function() {
3636
assert.throws(function() {
3737
Wallet.fromPrivateKey(Buffer.from('001122', 'hex'))
38-
}, /^Error: Private key does not satisfy the curve requirements \(ie. it is invalid\)$/)
38+
}, /^Error: Expected private key to be an Uint8Array with length 32$/)
3939
})
4040
})
4141

0 commit comments

Comments
 (0)