diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-11 07:52:35 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-16 04:38:59 +0800 |
commit | c83dec22c9e70cec2b75c9e5051f37124baa2761 (patch) | |
tree | 755433a9924bc818f0b4759795a349c4cd7b0dee /packages/contract-wrappers/test/exchange_wrapper_test.ts | |
parent | 974ec23ecd2a445523e0550c0a7f69329d6959f1 (diff) | |
download | dexon-sol-tools-c83dec22c9e70cec2b75c9e5051f37124baa2761.tar dexon-sol-tools-c83dec22c9e70cec2b75c9e5051f37124baa2761.tar.gz dexon-sol-tools-c83dec22c9e70cec2b75c9e5051f37124baa2761.tar.bz2 dexon-sol-tools-c83dec22c9e70cec2b75c9e5051f37124baa2761.tar.lz dexon-sol-tools-c83dec22c9e70cec2b75c9e5051f37124baa2761.tar.xz dexon-sol-tools-c83dec22c9e70cec2b75c9e5051f37124baa2761.tar.zst dexon-sol-tools-c83dec22c9e70cec2b75c9e5051f37124baa2761.zip |
Improve error handling for unknown network ids in contract-wrappers
Diffstat (limited to 'packages/contract-wrappers/test/exchange_wrapper_test.ts')
-rw-r--r-- | packages/contract-wrappers/test/exchange_wrapper_test.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/contract-wrappers/test/exchange_wrapper_test.ts b/packages/contract-wrappers/test/exchange_wrapper_test.ts index 695574466..7e29c76a1 100644 --- a/packages/contract-wrappers/test/exchange_wrapper_test.ts +++ b/packages/contract-wrappers/test/exchange_wrapper_test.ts @@ -28,13 +28,11 @@ describe('ExchangeWrapper', () => { let exchangeContractAddress: string; let makerTokenAddress: string; let takerTokenAddress: string; - let coinbase: string; let makerAddress: string; let anotherMakerAddress: string; let takerAddress: string; let makerAssetData: string; let takerAssetData: string; - let feeRecipient: string; let txHash: string; const fillableAmount = new BigNumber(5); const takerTokenFillAmount = new BigNumber(5); @@ -61,7 +59,7 @@ describe('ExchangeWrapper', () => { contractWrappers.erc20Proxy.address, contractWrappers.erc721Proxy.address, ); - [coinbase, makerAddress, takerAddress, feeRecipient, anotherMakerAddress] = userAddresses; + [, makerAddress, takerAddress, , anotherMakerAddress] = userAddresses; [makerTokenAddress, takerTokenAddress] = tokenUtils.getDummyERC20TokenAddresses(); [makerAssetData, takerAssetData] = [ assetDataUtils.encodeERC20AssetData(makerTokenAddress), |