aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers/token_wrapper.ts
diff options
context:
space:
mode:
authorJacob Evans <jacob@dekz.net>2017-11-12 02:42:42 +0800
committerJacob Evans <jacob@dekz.net>2017-11-12 02:42:42 +0800
commitd34ea79d939beaf677c6730fe6e84e25a687d59f (patch)
tree7b29b467cb4c1e8151766fc1a9d7248552de0747 /src/contract_wrappers/token_wrapper.ts
parentee73659f16dd70f15fa883e8d512e0da893b1393 (diff)
downloaddexon-sol-tools-d34ea79d939beaf677c6730fe6e84e25a687d59f.tar
dexon-sol-tools-d34ea79d939beaf677c6730fe6e84e25a687d59f.tar.gz
dexon-sol-tools-d34ea79d939beaf677c6730fe6e84e25a687d59f.tar.bz2
dexon-sol-tools-d34ea79d939beaf677c6730fe6e84e25a687d59f.tar.lz
dexon-sol-tools-d34ea79d939beaf677c6730fe6e84e25a687d59f.tar.xz
dexon-sol-tools-d34ea79d939beaf677c6730fe6e84e25a687d59f.tar.zst
dexon-sol-tools-d34ea79d939beaf677c6730fe6e84e25a687d59f.zip
Push unsubscribe to the base class rather than super
Diffstat (limited to 'src/contract_wrappers/token_wrapper.ts')
-rw-r--r--src/contract_wrappers/token_wrapper.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/contract_wrappers/token_wrapper.ts b/src/contract_wrappers/token_wrapper.ts
index fbe7354dc..081113964 100644
--- a/src/contract_wrappers/token_wrapper.ts
+++ b/src/contract_wrappers/token_wrapper.ts
@@ -290,12 +290,6 @@ export class TokenWrapper extends ContractWrapper {
);
return logs;
}
- /**
- * Cancels all existing subscriptions
- */
- public unsubscribeAll(): void {
- super.unsubscribeAll();
- }
private _invalidateContractInstancesAsync(): void {
this.unsubscribeAll();
this._tokenContractsByAddress = {};