diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-16 08:35:25 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-16 08:35:25 +0800 |
commit | 6f8e98e53727a1efc08800017cf2bde38884c982 (patch) | |
tree | d58aa9662d32688f17675d70ed77be2170f54e06 /packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts | |
parent | e093864bff4b9e6191d6ed4d7fe8ce9c60c5c367 (diff) | |
download | dexon-0x-contracts-6f8e98e53727a1efc08800017cf2bde38884c982.tar dexon-0x-contracts-6f8e98e53727a1efc08800017cf2bde38884c982.tar.gz dexon-0x-contracts-6f8e98e53727a1efc08800017cf2bde38884c982.tar.bz2 dexon-0x-contracts-6f8e98e53727a1efc08800017cf2bde38884c982.tar.lz dexon-0x-contracts-6f8e98e53727a1efc08800017cf2bde38884c982.tar.xz dexon-0x-contracts-6f8e98e53727a1efc08800017cf2bde38884c982.tar.zst dexon-0x-contracts-6f8e98e53727a1efc08800017cf2bde38884c982.zip |
In contract-wrappers, remove setProvider and add unsubscribeAll method.
Diffstat (limited to 'packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts')
-rw-r--r-- | packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts b/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts index a9809e0e7..9063e0e40 100644 --- a/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts +++ b/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts @@ -1180,11 +1180,6 @@ export class ExchangeWrapper extends ContractWrapper { const encoder = new TransactionEncoder(exchangeInstance); return encoder; } - // tslint:disable:no-unused-variable - private _invalidateContractInstances(): void { - this.unsubscribeAll(); - delete this._exchangeContractIfExists; - } // tslint:enable:no-unused-variable private async _getExchangeContractAsync(): Promise<ExchangeContract> { if (!_.isUndefined(this._exchangeContractIfExists)) { |