aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-07-18 21:37:34 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-07-18 21:38:10 +0800
commitc71781d9abf7f2654a51dbef95bd18200ea2bde1 (patch)
treebcaf7b858ba1d22d6f8c1afe0ff21aec28467598 /packages/contracts/test
parentdad557164ea4ccc012243d43df013078a7c37eb6 (diff)
downloaddexon-0x-contracts-c71781d9abf7f2654a51dbef95bd18200ea2bde1.tar
dexon-0x-contracts-c71781d9abf7f2654a51dbef95bd18200ea2bde1.tar.gz
dexon-0x-contracts-c71781d9abf7f2654a51dbef95bd18200ea2bde1.tar.bz2
dexon-0x-contracts-c71781d9abf7f2654a51dbef95bd18200ea2bde1.tar.lz
dexon-0x-contracts-c71781d9abf7f2654a51dbef95bd18200ea2bde1.tar.xz
dexon-0x-contracts-c71781d9abf7f2654a51dbef95bd18200ea2bde1.tar.zst
dexon-0x-contracts-c71781d9abf7f2654a51dbef95bd18200ea2bde1.zip
Merge
Diffstat (limited to 'packages/contracts/test')
-rw-r--r--packages/contracts/test/utils/forwarder_wrapper.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/test/utils/forwarder_wrapper.ts b/packages/contracts/test/utils/forwarder_wrapper.ts
index 0d4214402..e73bc7a2e 100644
--- a/packages/contracts/test/utils/forwarder_wrapper.ts
+++ b/packages/contracts/test/utils/forwarder_wrapper.ts
@@ -145,7 +145,7 @@ export class ForwarderWrapper {
feeProportion: number,
makerAssetFillAmount: BigNumber,
): Promise<BigNumber> {
- const makerAssetData = assetProxyUtils.decodeAssetData(orders[0].makerAssetData);
+ const makerAssetData = assetProxyUtils.decodeAssetDataOrThrow(orders[0].makerAssetData);
const makerAssetToken = makerAssetData.tokenAddress;
const params = formatters.createMarketBuyOrders(orders, makerAssetFillAmount);