Skip to content

Commit

Permalink
Merge pull request #1400 from KeystoneHQ/eth-ui
Browse files Browse the repository at this point in the history
fix: change unknown erc20 token name to fit ui
  • Loading branch information
ww3512687 authored Oct 16, 2024
2 parents 05dbb55 + 068795c commit 2b8c27c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ui/gui_chain/others/gui_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ static char *CalcSymbol(void *param)
}

if (isErc20Transfer(eth)) {
return "ERC-20 Token";
return "Unit";
}

EvmNetwork_t network = _FindNetwork(eth->chain_id);
Expand Down Expand Up @@ -890,7 +890,6 @@ static uint8_t GetEthPublickeyIndex(char* rootPath)
// pase result
void *GuiGetEthData(void)
{
printf("==========here =====");
memset_s(g_fromEthEnsName, sizeof(g_fromEthEnsName), 0, sizeof(g_fromEthEnsName));
memset_s(g_toEthEnsName, sizeof(g_toEthEnsName), 0, sizeof(g_toEthEnsName));
g_contractDataExist = false;
Expand Down

0 comments on commit 2b8c27c

Please sign in to comment.