aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/blockchain.ts
diff options
context:
space:
mode:
authorJacob Evans <dekz@dekz.net>2018-04-12 15:35:32 +0800
committerGitHub <noreply@github.com>2018-04-12 15:35:32 +0800
commited0c64fdcf5c180107f54ad916c11c4901a4c01c (patch)
tree89d71313275a970121bc8241ad20045160197505 /packages/website/ts/blockchain.ts
parent364d8824af412790e3cd4d82ff7f98c2f2a75fa1 (diff)
parent9a91e39b3f9419287ba0c508b86d519db4e72dd7 (diff)
downloaddexon-sol-tools-ed0c64fdcf5c180107f54ad916c11c4901a4c01c.tar
dexon-sol-tools-ed0c64fdcf5c180107f54ad916c11c4901a4c01c.tar.gz
dexon-sol-tools-ed0c64fdcf5c180107f54ad916c11c4901a4c01c.tar.bz2
dexon-sol-tools-ed0c64fdcf5c180107f54ad916c11c4901a4c01c.tar.lz
dexon-sol-tools-ed0c64fdcf5c180107f54ad916c11c4901a4c01c.tar.xz
dexon-sol-tools-ed0c64fdcf5c180107f54ad916c11c4901a4c01c.tar.zst
dexon-sol-tools-ed0c64fdcf5c180107f54ad916c11c4901a4c01c.zip
Merge pull request #507 from 0xProject/feature/subproviders/mnemonic-wallet-subprovider
Mnemonic wallet subprovider and multiple accounts in ledger
Diffstat (limited to 'packages/website/ts/blockchain.ts')
-rw-r--r--packages/website/ts/blockchain.ts8
1 files changed, 1 insertions, 7 deletions
diff --git a/packages/website/ts/blockchain.ts b/packages/website/ts/blockchain.ts
index 7d79542a3..99e4856ce 100644
--- a/packages/website/ts/blockchain.ts
+++ b/packages/website/ts/blockchain.ts
@@ -78,7 +78,7 @@ export class Blockchain {
private _userAddressIfExists: string;
private _cachedProvider: Provider;
private _cachedProviderNetworkId: number;
- private _ledgerSubprovider: LedgerWalletSubprovider;
+ private _ledgerSubprovider: LedgerSubprovider;
private _defaultGasPrice: BigNumber;
private static _getNameGivenProvider(provider: Provider): string {
const providerType = utils.getProviderType(provider);
@@ -180,12 +180,6 @@ export class Blockchain {
}
this._ledgerSubprovider.setPath(path);
}
- public updateLedgerDerivationIndex(pathIndex: number) {
- if (_.isUndefined(this._ledgerSubprovider)) {
- return; // noop
- }
- this._ledgerSubprovider.setPathIndex(pathIndex);
- }
public async updateProviderToLedgerAsync(networkId: number) {
utils.assert(!_.isUndefined(this._zeroEx), 'ZeroEx must be instantiated.');