diff options
Diffstat (limited to 'src/0x.ts')
-rw-r--r-- | src/0x.ts | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -169,9 +169,9 @@ export class ZeroEx { public async setProviderAsync(provider: Web3Provider) { this._web3Wrapper.setProvider(provider); await (this.exchange as any)._invalidateContractInstancesAsync(); - this.tokenRegistry.invalidateContractInstance(); + (this.tokenRegistry as any)._invalidateContractInstance(); await (this.token as any)._invalidateContractInstancesAsync(); - this.proxy.invalidateContractInstance(); + (this.proxy as any)._invalidateContractInstance(); } /** * Get user Ethereum addresses available through the supplied web3 instance available for sending transactions. |