Skip to content

Commit

Permalink
Remove deprecated ETH_PLUGIN_RESULT_OK_ALIAS from plugin API
Browse files Browse the repository at this point in the history
  • Loading branch information
fbeutin-ledger committed May 28, 2024
1 parent 07a488e commit 35f60dd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions doc/ethapp_plugins.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ typedef struct ethPluginInitContract_t {
uint8_t *selector; // 4 bytes selector
uint32_t dataSize;
char *alias; // 29 bytes alias if ETH_PLUGIN_RESULT_OK_ALIAS set
uint8_t result;
} ethPluginInitContract_t;
Expand Down
1 change: 0 additions & 1 deletion src/eth_plugin_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ 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)->alias = dataContext.tokenContext.pluginName;
break;
case ETH_PLUGIN_PROVIDE_PARAMETER:
PRINTF("-- PLUGIN PROVIDE PARAMETER --\n");
Expand Down

0 comments on commit 35f60dd

Please sign in to comment.