Skip to content

Commit 4c9f30a

Browse files
committed
frontend: fix confirmation time for ERC20 tokens.
1 parent 1e5ec74 commit 4c9f30a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- Fix a bug that would prevent the app to perform firmware upgrade when offline.
77
- Replace sidebar with bottom navigation bar for mobile devices
88
- Introduce full screen selector for mobile in place of dropdown
9+
- Fix wrong estimated confirmation time for ERC20 tokens.
910

1011
# v4.47.2
1112
- Linux: fix compatiblity with some versions of Mesa that are incompatible with the bundled wayland libraries

frontends/web/src/routes/account/utils.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ export const getCoinCode = (coinCode: CoinCode): CoinCode | undefined => {
6464
case 'sepeth':
6565
return 'eth';
6666
}
67+
if (coinCode.startsWith('eth-erc20-')) {
68+
return 'eth';
69+
}
6770
};
6871

6972
export const getScriptName = (scriptType: ScriptType): string => {

0 commit comments

Comments
 (0)