diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-10-19 06:54:53 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-10-19 06:54:53 +0800 |
commit | 44635f34f0df4da935ed4793566995873aac5055 (patch) | |
tree | 2a17869fd79eefdd289efc1fea49c0d555dc207b /packages/instant/src/util | |
parent | b4fb6b5ff3106c9223508469a2bee583bcea8da0 (diff) | |
download | dexon-0x-contracts-44635f34f0df4da935ed4793566995873aac5055.tar dexon-0x-contracts-44635f34f0df4da935ed4793566995873aac5055.tar.gz dexon-0x-contracts-44635f34f0df4da935ed4793566995873aac5055.tar.bz2 dexon-0x-contracts-44635f34f0df4da935ed4793566995873aac5055.tar.lz dexon-0x-contracts-44635f34f0df4da935ed4793566995873aac5055.tar.xz dexon-0x-contracts-44635f34f0df4da935ed4793566995873aac5055.tar.zst dexon-0x-contracts-44635f34f0df4da935ed4793566995873aac5055.zip |
fix: error test undefined case
Diffstat (limited to 'packages/instant/src/util')
-rw-r--r-- | packages/instant/src/util/asset.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/util/asset.ts b/packages/instant/src/util/asset.ts index e0d5ffcb7..a105a7c2b 100644 --- a/packages/instant/src/util/asset.ts +++ b/packages/instant/src/util/asset.ts @@ -37,9 +37,9 @@ export const assetUtils = { const metaData = asset.metaData; switch (metaData.assetProxyId) { case AssetProxyId.ERC20: - return metaData.symbol; + return metaData.symbol.toUpperCase(); case AssetProxyId.ERC721: - return metaData.name; + return metaData.name.toUpperCase(); default: return defaultName; } |