diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-26 02:17:00 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-26 02:17:00 +0800 |
commit | 1134ff107542d9014b195b6dc6ce6040752c92e3 (patch) | |
tree | 6a3b06b5a10f69817665b67fa63ce75be3790dc5 /packages/contracts/src/utils/asset_wrapper.ts | |
parent | 178676ef8c5a32cdb557d04a0658d0967b4b8a75 (diff) | |
download | dexon-0x-contracts-1134ff107542d9014b195b6dc6ce6040752c92e3.tar dexon-0x-contracts-1134ff107542d9014b195b6dc6ce6040752c92e3.tar.gz dexon-0x-contracts-1134ff107542d9014b195b6dc6ce6040752c92e3.tar.bz2 dexon-0x-contracts-1134ff107542d9014b195b6dc6ce6040752c92e3.tar.lz dexon-0x-contracts-1134ff107542d9014b195b6dc6ce6040752c92e3.tar.xz dexon-0x-contracts-1134ff107542d9014b195b6dc6ce6040752c92e3.tar.zst dexon-0x-contracts-1134ff107542d9014b195b6dc6ce6040752c92e3.zip |
Fix tslint issues
Diffstat (limited to 'packages/contracts/src/utils/asset_wrapper.ts')
-rw-r--r-- | packages/contracts/src/utils/asset_wrapper.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/contracts/src/utils/asset_wrapper.ts b/packages/contracts/src/utils/asset_wrapper.ts index 9c683054d..d5ce8cf1e 100644 --- a/packages/contracts/src/utils/asset_wrapper.ts +++ b/packages/contracts/src/utils/asset_wrapper.ts @@ -113,7 +113,6 @@ export class AssetWrapper { const isProxyApprovedForAll = await assetWrapper.isProxyApprovedForAllAsync( userAddress, erc721ProxyData.tokenAddress, - erc721ProxyData.tokenId, ); if (isProxyApprovedForAll) { return constants.UNLIMITED_ALLOWANCE_IN_BASE_UNITS; @@ -169,7 +168,6 @@ export class AssetWrapper { const isProxyApprovedForAll = await erc721Wrapper.isProxyApprovedForAllAsync( userAddress, assetProxyData.tokenAddress, - assetProxyData.tokenId, ); if (!isProxyApprovedForAll && desiredAllowance.eq(constants.UNLIMITED_ALLOWANCE_IN_BASE_UNITS)) { const isApproved = true; |