From 33216ea53f8c12fb229c5baab83d92464c67b296 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 4 Jul 2017 11:22:12 -0700 Subject: Make this.proxy.invalidateContractInstance and this.tokenRegistry.invalidateContractInstance private --- src/contract_wrappers/proxy_wrapper.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/contract_wrappers/proxy_wrapper.ts') diff --git a/src/contract_wrappers/proxy_wrapper.ts b/src/contract_wrappers/proxy_wrapper.ts index bdf163f35..05d4e142c 100644 --- a/src/contract_wrappers/proxy_wrapper.ts +++ b/src/contract_wrappers/proxy_wrapper.ts @@ -9,9 +9,6 @@ import {ProxyContract} from '../types'; */ export class ProxyWrapper extends ContractWrapper { private _proxyContractIfExists?: ProxyContract; - public invalidateContractInstance(): void { - delete this._proxyContractIfExists; - } /** * Check if the Exchange contract address is authorized by the Proxy contract. * @param exchangeContractAddress The hex encoded address of the Exchange contract to call. @@ -32,6 +29,9 @@ export class ProxyWrapper extends ContractWrapper { const authorizedAddresses = await proxyContractInstance.getAuthorizedAddresses.call(); return authorizedAddresses; } + private _invalidateContractInstance(): void { + delete this._proxyContractIfExists; + } private async _getProxyContractAsync(): Promise { if (!_.isUndefined(this._proxyContractIfExists)) { return this._proxyContractIfExists; -- cgit v1.2.3