Skip to content

Commit b04e0d1

Browse files
Egge21Mfiatjaf
authored andcommitted
test: fixed nip06 assertion
1 parent 633696b commit b04e0d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nip06.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ test('generate account from extended private key', () => {
6464
'xprv9z78fizET65qsCaRr1MSutTSGk1fcKfSt1sBqmuWShtkjRJJ4WCKcSnha6EmgNzFSsyom3MWtydHyPtJtSLZQUtictVQtM2vkPcguh6TQCH'
6565
const { privateKey, publicKey } = accountFromExtendedKey(xprv)
6666

67-
expect(privateKey).toBe(hexToBytes('5f29af3b9676180290e77a4efad265c4c2ff28a5302461f73597fda26bb25731'))
67+
expect(privateKey).toEqual(hexToBytes('5f29af3b9676180290e77a4efad265c4c2ff28a5302461f73597fda26bb25731'))
6868
expect(publicKey).toBe('e8bcf3823669444d0b49ad45d65088635d9fd8500a75b5f20b59abefa56a144f')
6969
})
7070

0 commit comments

Comments
 (0)