Removed redundant assignment

This commit is contained in:
Greg Hysen
2018-12-21 22:23:21 -08:00
parent 0893614859
commit d6467d707f

View File

@@ -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;
}