From 3b3c5180242d297e9a1b9fe2dfa8e8aa5e9d0d37 Mon Sep 17 00:00:00 2001 From: ftheirs Date: Fri, 3 May 2024 07:26:37 -0300 Subject: [PATCH] send payload instead of bip44path --- src/generic_app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic_app.ts b/src/generic_app.ts index cba3ac8..8be69b2 100644 --- a/src/generic_app.ts +++ b/src/generic_app.ts @@ -163,7 +163,7 @@ export class GenericApp { const p1 = showAddrInDevice ? P1_VALUES.SHOW_ADDRESS_IN_DEVICE : P1_VALUES.ONLY_RETRIEVE; try { - const response = await this.transport.send(this.cla, INS.GET_ADDR, p1, 0, bip44Path); + const response = await this.transport.send(this.cla, INS.GET_ADDR, p1, 0, payload); const errorCodeData = response.subarray(-2); const errorCode = errorCodeData[0] * 256 + errorCodeData[1];