diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-12-06 03:52:27 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-06 19:06:35 +0800 |
commit | b6e79fd9e038a77f614979bfa7ee20174ad638d7 (patch) | |
tree | 431703b83d97f039b8d1d690caca54bd01f1b33e /packages | |
parent | b39f51175572fc78d718af8bfdc4a30e183fdcde (diff) | |
download | dexon-sol-tools-b6e79fd9e038a77f614979bfa7ee20174ad638d7.tar dexon-sol-tools-b6e79fd9e038a77f614979bfa7ee20174ad638d7.tar.gz dexon-sol-tools-b6e79fd9e038a77f614979bfa7ee20174ad638d7.tar.bz2 dexon-sol-tools-b6e79fd9e038a77f614979bfa7ee20174ad638d7.tar.lz dexon-sol-tools-b6e79fd9e038a77f614979bfa7ee20174ad638d7.tar.xz dexon-sol-tools-b6e79fd9e038a77f614979bfa7ee20174ad638d7.tar.zst dexon-sol-tools-b6e79fd9e038a77f614979bfa7ee20174ad638d7.zip |
fix: call toLowerCase in asset creation logic
Diffstat (limited to 'packages')
-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 08f3642e3..13f84ef74 100644 --- a/packages/instant/src/util/asset.ts +++ b/packages/instant/src/util/asset.ts @@ -26,7 +26,7 @@ export const assetUtils = { return; } return { - assetData, + assetData: assetData.toLowerCase(), metaData, }; }, @@ -36,7 +36,7 @@ export const assetUtils = { network: Network, ): Asset => { return { - assetData, + assetData: assetData.toLowerCase(), metaData: assetUtils.getMetaDataOrThrow(assetData, assetMetaDataMap, network), }; }, |