aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-utils/src
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-07-17 06:51:59 +0800
committerGreg Hysen <greg.hysen@gmail.com>2018-07-18 22:18:54 +0800
commit36c27bdbf86d42fe2de417070de1368966ea66ad (patch)
tree10ab25dc30c365b0aa5ed743db23fc62b08d030b /packages/order-utils/src
parente1a9f3435f2527fcf38e68c5749bfddf1ba3b37d (diff)
downloaddexon-sol-tools-36c27bdbf86d42fe2de417070de1368966ea66ad.tar
dexon-sol-tools-36c27bdbf86d42fe2de417070de1368966ea66ad.tar.gz
dexon-sol-tools-36c27bdbf86d42fe2de417070de1368966ea66ad.tar.bz2
dexon-sol-tools-36c27bdbf86d42fe2de417070de1368966ea66ad.tar.lz
dexon-sol-tools-36c27bdbf86d42fe2de417070de1368966ea66ad.tar.xz
dexon-sol-tools-36c27bdbf86d42fe2de417070de1368966ea66ad.tar.zst
dexon-sol-tools-36c27bdbf86d42fe2de417070de1368966ea66ad.zip
Ran prettier
Diffstat (limited to 'packages/order-utils/src')
-rw-r--r--packages/order-utils/src/asset_data_utils.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/order-utils/src/asset_data_utils.ts b/packages/order-utils/src/asset_data_utils.ts
index 2b6d44227..d39c3c774 100644
--- a/packages/order-utils/src/asset_data_utils.ts
+++ b/packages/order-utils/src/asset_data_utils.ts
@@ -82,10 +82,7 @@ export const assetDataUtils = {
}), but got ${assetProxyId}`,
);
}
- const [tokenAddress, tokenId] = ethAbi.rawDecode(
- ['address', 'uint256'],
- data.slice(constants.SELECTOR_LENGTH),
- );
+ const [tokenAddress, tokenId] = ethAbi.rawDecode(['address', 'uint256'], data.slice(constants.SELECTOR_LENGTH));
return {
assetProxyId,
tokenAddress: ethUtil.addHexPrefix(tokenAddress),