aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/blockchain_watcher.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-27 03:48:00 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-27 03:48:00 +0800
commitd72e06842f2c561ef27d0adba6f2b4a51d38a87a (patch)
treee3ecec70f5e2337e1d633481b44a36ca6e9d6551 /packages/website/ts/blockchain_watcher.ts
parent0a0da63ac7913f0c3a27147a700c9a3dbccf0c40 (diff)
downloaddexon-0x-contracts-d72e06842f2c561ef27d0adba6f2b4a51d38a87a.tar.gz
dexon-0x-contracts-d72e06842f2c561ef27d0adba6f2b4a51d38a87a.tar.zst
dexon-0x-contracts-d72e06842f2c561ef27d0adba6f2b4a51d38a87a.zip
Remove unused variables
Diffstat (limited to 'packages/website/ts/blockchain_watcher.ts')
-rw-r--r--packages/website/ts/blockchain_watcher.ts10
1 files changed, 1 insertions, 9 deletions
diff --git a/packages/website/ts/blockchain_watcher.ts b/packages/website/ts/blockchain_watcher.ts
index 4112c8a15..df5f73fd1 100644
--- a/packages/website/ts/blockchain_watcher.ts
+++ b/packages/website/ts/blockchain_watcher.ts
@@ -6,21 +6,13 @@ import { Dispatcher } from 'ts/redux/dispatcher';
export class BlockchainWatcher {
private _dispatcher: Dispatcher;
private _web3Wrapper: Web3Wrapper;
- private _prevNetworkId: number;
- private _isWatchingNetworkId: boolean = false;
private _shouldPollUserAddress: boolean;
private _watchBalanceIntervalId: NodeJS.Timer;
private _prevUserEtherBalanceInWei?: BigNumber;
private _prevUserAddressIfExists: string;
- constructor(
- dispatcher: Dispatcher,
- web3Wrapper: Web3Wrapper,
- networkIdIfExists: number,
- shouldPollUserAddress: boolean,
- ) {
+ constructor(dispatcher: Dispatcher, web3Wrapper: Web3Wrapper, shouldPollUserAddress: boolean) {
this._dispatcher = dispatcher;
this._shouldPollUserAddress = shouldPollUserAddress;
- this._prevNetworkId = networkIdIfExists;
this._web3Wrapper = web3Wrapper;
}
public destroy(): void {