diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-05 02:12:56 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-05 02:12:56 +0800 |
commit | 4ebf046cea8ff510567b5d05d188cd9f84ad1988 (patch) | |
tree | dcf9d9d55a92c9d3a813db9789704990620c9629 /src/0x.ts | |
parent | 43bebf6d61be47ecab977ea328f580c4588b4804 (diff) | |
download | dexon-0x-contracts-4ebf046cea8ff510567b5d05d188cd9f84ad1988.tar.gz dexon-0x-contracts-4ebf046cea8ff510567b5d05d188cd9f84ad1988.tar.zst dexon-0x-contracts-4ebf046cea8ff510567b5d05d188cd9f84ad1988.zip |
Make invalidateContractInstancesAsync private on exchange and token
Diffstat (limited to 'src/0x.ts')
-rw-r--r-- | src/0x.ts | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -168,9 +168,9 @@ export class ZeroEx { */ public async setProviderAsync(provider: Web3Provider) { this._web3Wrapper.setProvider(provider); - await this.exchange.invalidateContractInstancesAsync(); + await (this.exchange as any)._invalidateContractInstancesAsync(); this.tokenRegistry.invalidateContractInstance(); - await this.token.invalidateContractInstancesAsync(); + await (this.token as any)._invalidateContractInstancesAsync(); this.proxy.invalidateContractInstance(); } /** |