diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-07-18 21:37:34 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-07-18 21:38:10 +0800 |
commit | c71781d9abf7f2654a51dbef95bd18200ea2bde1 (patch) | |
tree | bcaf7b858ba1d22d6f8c1afe0ff21aec28467598 /packages/contracts/test | |
parent | dad557164ea4ccc012243d43df013078a7c37eb6 (diff) | |
download | dexon-sol-tools-c71781d9abf7f2654a51dbef95bd18200ea2bde1.tar dexon-sol-tools-c71781d9abf7f2654a51dbef95bd18200ea2bde1.tar.gz dexon-sol-tools-c71781d9abf7f2654a51dbef95bd18200ea2bde1.tar.bz2 dexon-sol-tools-c71781d9abf7f2654a51dbef95bd18200ea2bde1.tar.lz dexon-sol-tools-c71781d9abf7f2654a51dbef95bd18200ea2bde1.tar.xz dexon-sol-tools-c71781d9abf7f2654a51dbef95bd18200ea2bde1.tar.zst dexon-sol-tools-c71781d9abf7f2654a51dbef95bd18200ea2bde1.zip |
Merge
Diffstat (limited to 'packages/contracts/test')
-rw-r--r-- | packages/contracts/test/utils/forwarder_wrapper.ts | 2 |
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); |