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 05923fe commit 1ce7dc2
Showing 1 changed file with 2 additions and 0 deletions.
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 1ce7dc2

Please sign in to comment.