diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-02 17:00:32 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-07-02 17:00:32 +0800 |
commit | 6a6d2f73a889b6bbcbfd4082ff4dfd5f3d2a0352 (patch) | |
tree | ecb91750fd370704be1fa9c9f5464b22b69116de /packages/contracts/src | |
parent | f5a8f00af84fed0be0ab3127dc67190647baae0a (diff) | |
download | dexon-sol-tools-6a6d2f73a889b6bbcbfd4082ff4dfd5f3d2a0352.tar dexon-sol-tools-6a6d2f73a889b6bbcbfd4082ff4dfd5f3d2a0352.tar.gz dexon-sol-tools-6a6d2f73a889b6bbcbfd4082ff4dfd5f3d2a0352.tar.bz2 dexon-sol-tools-6a6d2f73a889b6bbcbfd4082ff4dfd5f3d2a0352.tar.lz dexon-sol-tools-6a6d2f73a889b6bbcbfd4082ff4dfd5f3d2a0352.tar.xz dexon-sol-tools-6a6d2f73a889b6bbcbfd4082ff4dfd5f3d2a0352.tar.zst dexon-sol-tools-6a6d2f73a889b6bbcbfd4082ff4dfd5f3d2a0352.zip |
Fix comment
Diffstat (limited to 'packages/contracts/src')
-rw-r--r-- | packages/contracts/src/utils/asset_wrapper.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/contracts/src/utils/asset_wrapper.ts b/packages/contracts/src/utils/asset_wrapper.ts index 9946e4bde..1a7b2b9ed 100644 --- a/packages/contracts/src/utils/asset_wrapper.ts +++ b/packages/contracts/src/utils/asset_wrapper.ts @@ -85,8 +85,7 @@ export class AssetWrapper { userAddress, ); } else if (tokenOwner === userAddress && desiredBalance.eq(0)) { - // Burn token - // await erc721Wrapper.burnAsync(assetProxyData.tokenAddress, assetProxyData.tokenId, userAddress); + // Transfer token to someone else const userAddresses = await (erc721Wrapper as any)._web3Wrapper.getAvailableAddressesAsync(); const nonOwner = _.find(userAddresses, a => a !== userAddress); await erc721Wrapper.transferFromAsync( |