From 68194fde0aa97d5d53a2bb13887314108ccea7ff Mon Sep 17 00:00:00 2001 From: Ian K Smith Date: Thu, 31 Jan 2019 14:55:06 -0700 Subject: Use correct "orderValidator" address in order_validator_wrapper ctor --- .../contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3 From 9fd372da51aa63557997a48ba2117a7ea20f9d11 Mon Sep 17 00:00:00 2001 From: Ian K Smith Date: Thu, 31 Jan 2019 15:04:22 -0700 Subject: Add CHANGELOG.json entry --- packages/contract-wrappers/CHANGELOG.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/contract-wrappers/CHANGELOG.json b/packages/contract-wrappers/CHANGELOG.json index 30199ae1d..9cea720c8 100644 --- a/packages/contract-wrappers/CHANGELOG.json +++ b/packages/contract-wrappers/CHANGELOG.json @@ -1,4 +1,13 @@ [ + { + "version": "6.0.1", + "changes": [ + { + "note": "Fix OrderValidatorWrapper constructor to use the correct address", + "pr": 1568 + } + ] + }, { "version": "6.0.0", "changes": [ -- cgit v1.2.3