Skip to content

Commit

Permalink
Give knowledge of derivation path from eth to plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
fbeutin-ledger committed Sep 9, 2024
1 parent 3bcf4a2 commit c5c25b8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions src/shared_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ extern void common_app_init(void);

#define MAX_ASSETS 5

typedef struct bip32_path_t {
uint8_t length;
uint32_t path[MAX_BIP32_PATH];
} bip32_path_t;

typedef struct internalStorage_t {
bool dataAllowed;
bool contractDetails;
Expand Down
1 change: 1 addition & 0 deletions src_features/signTx/logic_signTx.c
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ __attribute__((noinline)) static uint16_t finalize_parsing_helper(void) {
tmpContent.txContent.value.length = 32;
memmove(tmpContent.txContent.destination, pluginFinalize.address, 20);
tmpContent.txContent.destinationLength = 20;
memcpy(&tmpContent.txContent.bip32, &tmpCtx.transactionContext.bip32, sizeof(bip32_path_t));
if (pluginProvideInfo.item1 != NULL) {
decimals = pluginProvideInfo.item1->token.decimals;
ticker = pluginProvideInfo.item1->token.ticker;
Expand Down

0 comments on commit c5c25b8

Please sign in to comment.