From d6467d707fdc1797eba4a445e805ccadc1f47872 Mon Sep 17 00:00:00 2001 From: Greg Hysen Date: Fri, 21 Dec 2018 22:23:21 -0800 Subject: Removed redundant assignment --- .../contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts b/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts index bb1e89555..f243d55d9 100644 --- a/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts +++ b/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts @@ -32,7 +32,7 @@ export class DutchAuctionWrapper extends ContractWrapper { */ constructor(web3Wrapper: Web3Wrapper, networkId: number, address?: string) { super(web3Wrapper, networkId); - this.address = this.address = _.isUndefined(address) + this.address = _.isUndefined(address) ? _getDefaultContractAddresses(networkId).dutchAuction : address; } -- cgit v1.2.3