diff options
author | Francesco Agosti <francesco.agosti93@gmail.com> | 2018-12-06 04:45:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-06 04:45:16 +0800 |
commit | e839e698f9360d3632f4717f8e37699b6c14dd78 (patch) | |
tree | 871144a589059a48eecc5806c82092e491361859 /packages/instant/src/util/asset.ts | |
parent | 08eb0b91b6d0f0dc90ae920a18ca5dd080bf235c (diff) | |
parent | f2c5a8e2f1e517e89f45b03bd3cdf5bb59c450bf (diff) | |
download | dexon-sol-tools-e839e698f9360d3632f4717f8e37699b6c14dd78.tar dexon-sol-tools-e839e698f9360d3632f4717f8e37699b6c14dd78.tar.gz dexon-sol-tools-e839e698f9360d3632f4717f8e37699b6c14dd78.tar.bz2 dexon-sol-tools-e839e698f9360d3632f4717f8e37699b6c14dd78.tar.lz dexon-sol-tools-e839e698f9360d3632f4717f8e37699b6c14dd78.tar.xz dexon-sol-tools-e839e698f9360d3632f4717f8e37699b6c14dd78.tar.zst dexon-sol-tools-e839e698f9360d3632f4717f8e37699b6c14dd78.zip |
Merge pull request #1392 from 0xProject/fix/instant/pre-release-hotfixes
[instant] CSS leakage and non-lowercase defaultAssetData fix
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), }; }, |