diff options
Diffstat (limited to 'src/contract_wrappers/proxy_wrapper.ts')
-rw-r--r-- | src/contract_wrappers/proxy_wrapper.ts | 6 |
1 files changed, 3 insertions, 3 deletions
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<ProxyContract> { if (!_.isUndefined(this._proxyContractIfExists)) { return this._proxyContractIfExists; |