Skip to content

Commit

Permalink
send payload instead of bip44path
Browse files Browse the repository at this point in the history
  • Loading branch information
ftheirs committed May 3, 2024
1 parent aa9d74a commit 3b3c518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generic_app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down

0 comments on commit 3b3c518

Please sign in to comment.