aboutsummaryrefslogtreecommitdiffstats
path: root/src/0x.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/0x.ts')
-rw-r--r--src/0x.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/0x.ts b/src/0x.ts
index d42c16ca6..25ad538b9 100644
--- a/src/0x.ts
+++ b/src/0x.ts
@@ -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();
}
/**