Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
abenso committed Nov 20, 2024
1 parent 6eb294e commit 02ca63c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/apdu_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,10 @@ __Z_INLINE void handleGetAddr(volatile uint32_t *flags, volatile uint32_t *tx, u
address_index_t address_index = {0};
extractAddressIndex(rx, OFFSET_DATA + sizeof(uint32_t) * HDPATH_LEN_DEFAULT, &address_index);

// TODO: Check if this is correct
// generate hdPath with account
hdPath[2] = 0x80000000u | (uint32_t)address_index.account;

zxerr_t zxerr = app_fill_address(address_index);

if (zxerr != zxerr_ok) {
Expand Down

0 comments on commit 02ca63c

Please sign in to comment.