chore: a tracked token's symbol is ignored, so the approval screen says "Unknown token" for a token the user added by hand #354
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Raised by the review of #352 (#352 (comment)).
tokenInfo()andtokenLabel()resolve symbols from the bundled list only. ButresolveTokenDecimals(), added by #340, happily takes a token's decimals from the user's tracked-token entry.So for a token the user added by hand, the wallet uses the tracked entry to scale the amount correctly and then labels it
Unknown token— it trusts the entry for the number but not for the name. The screen is honest (it shows the address), just needlessly less informative than the data on hand allows.Not in milestone 1.0.0: nothing is misstated, and the address is shown.
Definition of done
Unknown token.make checkgreen.