aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/src
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-12-22 14:23:21 +0800
committerGreg Hysen <greg.hysen@gmail.com>2019-01-08 07:50:48 +0800
commitd6467d707fdc1797eba4a445e805ccadc1f47872 (patch)
tree33ae4aecabd8f6ba31926e0e281adbbec7368f90 /packages/contract-wrappers/src
parent0893614859c9f8c20c295aad162c2e0b7853c415 (diff)
downloaddexon-sol-tools-d6467d707fdc1797eba4a445e805ccadc1f47872.tar
dexon-sol-tools-d6467d707fdc1797eba4a445e805ccadc1f47872.tar.gz
dexon-sol-tools-d6467d707fdc1797eba4a445e805ccadc1f47872.tar.bz2
dexon-sol-tools-d6467d707fdc1797eba4a445e805ccadc1f47872.tar.lz
dexon-sol-tools-d6467d707fdc1797eba4a445e805ccadc1f47872.tar.xz
dexon-sol-tools-d6467d707fdc1797eba4a445e805ccadc1f47872.tar.zst
dexon-sol-tools-d6467d707fdc1797eba4a445e805ccadc1f47872.zip
Removed redundant assignment
Diffstat (limited to 'packages/contract-wrappers/src')
-rw-r--r--packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts2
1 files changed, 1 insertions, 1 deletions
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;
}