aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers/exchange_wrapper.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-06-01 21:10:22 +0800
committerFabio Berger <me@fabioberger.com>2017-06-01 21:10:22 +0800
commit88316455b74d2ecde1da55bf2bb36b6c9b46bcb1 (patch)
treebd00e891e96aad825084c0f3ba3b5d31e5a4cfd9 /src/contract_wrappers/exchange_wrapper.ts
parent085e4fb8962d2d79d60270967aef0f55acb788bf (diff)
downloaddexon-0x-contracts-88316455b74d2ecde1da55bf2bb36b6c9b46bcb1.tar.gz
dexon-0x-contracts-88316455b74d2ecde1da55bf2bb36b6c9b46bcb1.tar.zst
dexon-0x-contracts-88316455b74d2ecde1da55bf2bb36b6c9b46bcb1.zip
Make taker required on Order object and expect NULL_ADDRESS from 0x.js
Diffstat (limited to 'src/contract_wrappers/exchange_wrapper.ts')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index ad2573c6b..d1763e307 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -66,11 +66,9 @@ export class ExchangeWrapper extends ContractWrapper {
const senderAddress = await this.web3Wrapper.getSenderAddressOrThrowAsync();
const exchangeInstance = await this.getExchangeInstanceOrThrowAsync();
- const taker = _.isUndefined(signedOrder.taker) ? constants.NULL_ADDRESS : signedOrder.taker;
-
const orderAddresses: OrderAddresses = [
signedOrder.maker,
- taker,
+ signedOrder.taker,
signedOrder.makerTokenAddress,
signedOrder.takerTokenAddress,
signedOrder.feeRecipient,