diff options
author | Ian K Smith <smithki707@gmail.com> | 2019-02-01 05:55:06 +0800 |
---|---|---|
committer | Ian K Smith <smithki707@gmail.com> | 2019-02-01 05:55:06 +0800 |
commit | 68194fde0aa97d5d53a2bb13887314108ccea7ff (patch) | |
tree | 03a8c7eab67a1005c7e8e9a68159de2c822539c8 /packages | |
parent | da357f7599cb69edfd3d81a59146009d255c9465 (diff) | |
download | dexon-0x-contracts-68194fde0aa97d5d53a2bb13887314108ccea7ff.tar.gz dexon-0x-contracts-68194fde0aa97d5d53a2bb13887314108ccea7ff.tar.zst dexon-0x-contracts-68194fde0aa97d5d53a2bb13887314108ccea7ff.zip |
Use correct "orderValidator" address in order_validator_wrapper ctor
Diffstat (limited to 'packages')
-rw-r--r-- | packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts b/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts index c186e080e..f398142ce 100644 --- a/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts +++ b/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts @@ -29,7 +29,7 @@ export class OrderValidatorWrapper extends ContractWrapper { */ constructor(web3Wrapper: Web3Wrapper, networkId: number, address?: string) { super(web3Wrapper, networkId); - this.address = _.isUndefined(address) ? _getDefaultContractAddresses(networkId).exchange : address; + this.address = _.isUndefined(address) ? _getDefaultContractAddresses(networkId).orderValidator : address; } /** * Get an object conforming to OrderAndTraderInfo containing on-chain information of the provided order and address |