Skip to content

Commit

Permalink
feat: add enconded xpub on the response
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelm41 committed Jan 17, 2025
1 parent 250962e commit ec13605
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion js
Submodule js updated 3 files
+2 −1 package.json
+14 −1 src/index.ts
+1 −0 src/types.ts
2 changes: 2 additions & 0 deletions tests_zemu/tests/addresses.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ describe('Addresses', function () {
const app = new ZCashApp(sim.getTransport())
const expectedPk = '0378e0db93ebe9b03fb04f08931038822b75db3a6089f54443b4e8ca1865811b79'
const expectedChainCode = 'd293abfd48452b107be8a5895c721addca628c0ae36353bac34d13a1d8c5e73e'
const expectedExtendedPk = 'd293abfd48452b107be8a5895c721addca628c0ae36353bac34d13a1d8c5e73e'

const addrReq = app.getAddressTransparentExtended(`m/44'/133'/5'`, true)
await sim.waitUntilScreenIsNot(sim.getMainMenuSnapshot())
Expand All @@ -115,6 +116,7 @@ describe('Addresses', function () {
expect(addr?.publicKey.toString('hex')).toEqual(expectedPk)
expect(addr?.index).toEqual(0x80000000 + 5)
expect(addr?.depth).toEqual(3)
expect(addr?.extendedPk).toEqual(3)
} finally {
await sim.close()
}
Expand Down

0 comments on commit ec13605

Please sign in to comment.