Improve transaction wording

This commit is contained in:
Alexandre Paillier
2023-06-05 17:54:19 +02:00
parent 17b1cfc0ad
commit 09d4b2114a
2 changed files with 45 additions and 5 deletions

View File

@@ -182,7 +182,11 @@ void erc20_plugin_call(int message, void *parameters) {
case ETH_PLUGIN_QUERY_CONTRACT_ID: {
ethQueryContractID_t *msg = (ethQueryContractID_t *) parameters;
#ifdef HAVE_NBGL
strlcpy(msg->name, "ERC20 token", msg->nameLength);
#else
strlcpy(msg->name, "Type", msg->nameLength);
#endif
strlcpy(msg->version, "Approve", msg->versionLength);
msg->result = ETH_PLUGIN_RESULT_OK;
} break;