From f7010dfa3a4bbd00ba1f08b1bed411c6a60008a4 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Wed, 23 Aug 2017 17:32:10 +0200 Subject: Return variable instead of expression --- src/contract_wrappers/exchange_wrapper.ts | 3 ++- src/contract_wrappers/token_transfer_proxy_wrapper.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts index d5e272c12..7994ee72f 100644 --- a/src/contract_wrappers/exchange_wrapper.ts +++ b/src/contract_wrappers/exchange_wrapper.ts @@ -623,7 +623,8 @@ export class ExchangeWrapper extends ContractWrapper { */ public async getContractAddressAsync(): Promise { const exchangeInstance = await this._getExchangeContractAsync(); - return exchangeInstance.address; + const exchangeAddress = exchangeInstance.address; + return exchangeAddress; } private async _invalidateContractInstancesAsync(): Promise { await this.stopWatchingAllEventsAsync(); diff --git a/src/contract_wrappers/token_transfer_proxy_wrapper.ts b/src/contract_wrappers/token_transfer_proxy_wrapper.ts index 758c07f18..da17d79ff 100644 --- a/src/contract_wrappers/token_transfer_proxy_wrapper.ts +++ b/src/contract_wrappers/token_transfer_proxy_wrapper.ts @@ -34,7 +34,8 @@ export class TokenTransferProxyWrapper extends ContractWrapper { */ public async getContractAddressAsync(): Promise { const proxyInstance = await this._getTokenTransferProxyContractAsync(); - return proxyInstance.address; + const proxyAddress = proxyInstance.address; + return proxyAddress; } private _invalidateContractInstance(): void { delete this._tokenTransferProxyContractIfExists; -- cgit