diff --git a/doc/ethapp_plugins.adoc b/doc/ethapp_plugins.adoc index 886928a4b..6c3decb91 100644 --- a/doc/ethapp_plugins.adoc +++ b/doc/ethapp_plugins.adoc @@ -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; diff --git a/src/eth_plugin_handler.c b/src/eth_plugin_handler.c index c768c7e43..3e64e10d6 100644 --- a/src/eth_plugin_handler.c +++ b/src/eth_plugin_handler.c @@ -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"); diff --git a/src_common/eth_plugin_interface.h b/src_common/eth_plugin_interface.h index 6d872f5bc..faa2be5f3 100644 --- a/src_common/eth_plugin_interface.h +++ b/src_common/eth_plugin_interface.h @@ -56,7 +56,6 @@ typedef enum eth_plugin_result_e { // Successful return values ETH_PLUGIN_RESULT_SUCCESSFUL = 0x03, // Used for comparison ETH_PLUGIN_RESULT_OK = 0x04, - ETH_PLUGIN_RESULT_OK_ALIAS = 0x05, ETH_PLUGIN_RESULT_FALLBACK = 0x06, } eth_plugin_result_t; @@ -118,8 +117,6 @@ typedef struct ethPluginInitContract_s { const uint8_t *selector; // 4 bytes selector size_t dataSize; - char *alias; // 29 bytes alias if ETH_PLUGIN_RESULT_OK_ALIAS set - } ethPluginInitContract_t; // void handle_init_contract(ethPluginInitContract_t *parameters);