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 10, 2024
1 parent 3bcf4a2 commit 160c827
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions src/eth_plugin_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ eth_plugin_result_t eth_plugin_call(int method, void *parameter) {
(uint8_t *) &dataContext.tokenContext.pluginContext;
((ethPluginInitContract_t *) parameter)->pluginContextLength =
sizeof(dataContext.tokenContext.pluginContext);
((ethPluginInitContract_t *) parameter)->bip32 = &tmpCtx.transactionContext.bip32;
break;
case ETH_PLUGIN_PROVIDE_PARAMETER:
PRINTF("-- PLUGIN PROVIDE PARAMETER --\n");
Expand Down
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

0 comments on commit 160c827

Please sign in to comment.