aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-utils
diff options
context:
space:
mode:
authorRemco Bloemen <remco@wicked.ventures>2018-06-22 22:37:10 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-06-26 07:19:07 +0800
commit64a6fb2344ede6e81017e2336311688d9fa27c06 (patch)
tree3fa8c440de73339830dec705a5399ed2765448fd /packages/order-utils
parent07734a5184e6e53230381953aaf8546abf5195a7 (diff)
downloaddexon-sol-tools-64a6fb2344ede6e81017e2336311688d9fa27c06.tar
dexon-sol-tools-64a6fb2344ede6e81017e2336311688d9fa27c06.tar.gz
dexon-sol-tools-64a6fb2344ede6e81017e2336311688d9fa27c06.tar.bz2
dexon-sol-tools-64a6fb2344ede6e81017e2336311688d9fa27c06.tar.lz
dexon-sol-tools-64a6fb2344ede6e81017e2336311688d9fa27c06.tar.xz
dexon-sol-tools-64a6fb2344ede6e81017e2336311688d9fa27c06.tar.zst
dexon-sol-tools-64a6fb2344ede6e81017e2336311688d9fa27c06.zip
Fix AssetProxyUtils
Diffstat (limited to 'packages/order-utils')
-rw-r--r--packages/order-utils/src/asset_proxy_utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/order-utils/src/asset_proxy_utils.ts b/packages/order-utils/src/asset_proxy_utils.ts
index aad14d687..43e23a7fd 100644
--- a/packages/order-utils/src/asset_proxy_utils.ts
+++ b/packages/order-utils/src/asset_proxy_utils.ts
@@ -90,7 +90,7 @@ export const assetProxyUtils = {
return ethUtil.bufferToHex(ethAbi.simpleEncode(
'ERC721Token(address,uint256,bytes)',
tokenAddress,
- tokenId.toString(16),
+ '0x' + tokenId.toString(16),
ethUtil.toBuffer(receiverData || '0x'),
));
},