aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-02 17:00:32 +0800
committerFabio Berger <me@fabioberger.com>2018-07-02 17:00:32 +0800
commit6a6d2f73a889b6bbcbfd4082ff4dfd5f3d2a0352 (patch)
treeecb91750fd370704be1fa9c9f5464b22b69116de /packages/contracts/src
parentf5a8f00af84fed0be0ab3127dc67190647baae0a (diff)
downloaddexon-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.ts3
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(