diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-12-06 03:52:27 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-12-06 03:52:27 +0800 |
commit | 92d4c1d09e05d82bec010f0241c6772ff03da503 (patch) | |
tree | 3c77d53295bf1f91268dc9939ef0155a844a61bd /packages/instant/src/util/asset.ts | |
parent | 3454bbfd65f69f219e210fe87bfad5be6993adde (diff) | |
download | dexon-0x-contracts-92d4c1d09e05d82bec010f0241c6772ff03da503.tar.gz dexon-0x-contracts-92d4c1d09e05d82bec010f0241c6772ff03da503.tar.zst dexon-0x-contracts-92d4c1d09e05d82bec010f0241c6772ff03da503.zip |
fix: call toLowerCase in asset creation logic
Diffstat (limited to 'packages/instant/src/util/asset.ts')
-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), }; }, |