diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-27 03:48:00 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-27 03:48:00 +0800 |
commit | d72e06842f2c561ef27d0adba6f2b4a51d38a87a (patch) | |
tree | e3ecec70f5e2337e1d633481b44a36ca6e9d6551 /packages/website/ts/blockchain.ts | |
parent | 0a0da63ac7913f0c3a27147a700c9a3dbccf0c40 (diff) | |
download | dexon-sol-tools-d72e06842f2c561ef27d0adba6f2b4a51d38a87a.tar dexon-sol-tools-d72e06842f2c561ef27d0adba6f2b4a51d38a87a.tar.gz dexon-sol-tools-d72e06842f2c561ef27d0adba6f2b4a51d38a87a.tar.bz2 dexon-sol-tools-d72e06842f2c561ef27d0adba6f2b4a51d38a87a.tar.lz dexon-sol-tools-d72e06842f2c561ef27d0adba6f2b4a51d38a87a.tar.xz dexon-sol-tools-d72e06842f2c561ef27d0adba6f2b4a51d38a87a.tar.zst dexon-sol-tools-d72e06842f2c561ef27d0adba6f2b4a51d38a87a.zip |
Remove unused variables
Diffstat (limited to 'packages/website/ts/blockchain.ts')
-rw-r--r-- | packages/website/ts/blockchain.ts | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/packages/website/ts/blockchain.ts b/packages/website/ts/blockchain.ts index 7bd6fe800..7dda0a191 100644 --- a/packages/website/ts/blockchain.ts +++ b/packages/website/ts/blockchain.ts @@ -43,6 +43,8 @@ import { BlockchainErrs, ContractInstance, Fill, + InjectedProviderObservable, + InjectedProviderUpdate, Order as PortalOrder, Providers, ProviderType, @@ -50,8 +52,6 @@ import { SideToAssetToken, Token, TokenByAddress, - InjectedProviderObservable, - InjectedProviderUpdate, } from 'ts/types'; import { backendClient } from 'ts/utils/backend_client'; import { configs } from 'ts/utils/configs'; @@ -811,14 +811,8 @@ export class Blockchain { this._blockchainWatcher.destroy(); } this._web3Wrapper = new Web3Wrapper(provider); - this._blockchainWatcher = new BlockchainWatcher( - this._dispatcher, - this._web3Wrapper, - this.networkId, - shouldPollUserAddress, - ); + this._blockchainWatcher = new BlockchainWatcher(this._dispatcher, this._web3Wrapper, shouldPollUserAddress); if (useLedgerProvider && !_.isUndefined(ledgerSubproviderIfExists)) { - // TODO: why? delete this._userAddressIfExists; this._ledgerSubprovider = ledgerSubproviderIfExists; this._dispatcher.updateUserAddress(undefined); |