aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-12-06 03:52:27 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-12-06 03:52:27 +0800
commit92d4c1d09e05d82bec010f0241c6772ff03da503 (patch)
tree3c77d53295bf1f91268dc9939ef0155a844a61bd /packages
parent3454bbfd65f69f219e210fe87bfad5be6993adde (diff)
downloaddexon-sol-tools-92d4c1d09e05d82bec010f0241c6772ff03da503.tar
dexon-sol-tools-92d4c1d09e05d82bec010f0241c6772ff03da503.tar.gz
dexon-sol-tools-92d4c1d09e05d82bec010f0241c6772ff03da503.tar.bz2
dexon-sol-tools-92d4c1d09e05d82bec010f0241c6772ff03da503.tar.lz
dexon-sol-tools-92d4c1d09e05d82bec010f0241c6772ff03da503.tar.xz
dexon-sol-tools-92d4c1d09e05d82bec010f0241c6772ff03da503.tar.zst
dexon-sol-tools-92d4c1d09e05d82bec010f0241c6772ff03da503.zip
fix: call toLowerCase in asset creation logic
Diffstat (limited to 'packages')
-rw-r--r--packages/instant/src/util/asset.ts4
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),
};
},