diff options
author | Fabio Berger <me@fabioberger.com> | 2018-01-29 20:16:40 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-01-29 20:16:40 +0800 |
commit | 542a1a11b9adc2db07e99cf1cba4b4f6fb24983d (patch) | |
tree | 9400c49bcd10f8b2825c2070f9014bac8dc52f2a /packages/website/ts/blockchain.ts | |
parent | 63ffa80c5cde2b289043ad58aec6bc2fe4d72993 (diff) | |
download | dexon-sol-tools-542a1a11b9adc2db07e99cf1cba4b4f6fb24983d.tar dexon-sol-tools-542a1a11b9adc2db07e99cf1cba4b4f6fb24983d.tar.gz dexon-sol-tools-542a1a11b9adc2db07e99cf1cba4b4f6fb24983d.tar.bz2 dexon-sol-tools-542a1a11b9adc2db07e99cf1cba4b4f6fb24983d.tar.lz dexon-sol-tools-542a1a11b9adc2db07e99cf1cba4b4f6fb24983d.tar.xz dexon-sol-tools-542a1a11b9adc2db07e99cf1cba4b4f6fb24983d.tar.zst dexon-sol-tools-542a1a11b9adc2db07e99cf1cba4b4f6fb24983d.zip |
Add missing entries for Ropsten and Rinkeby testnets, added Ropsten to Ledger network dropdown
Diffstat (limited to 'packages/website/ts/blockchain.ts')
-rw-r--r-- | packages/website/ts/blockchain.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/blockchain.ts b/packages/website/ts/blockchain.ts index 13c997ba6..543d5d8ca 100644 --- a/packages/website/ts/blockchain.ts +++ b/packages/website/ts/blockchain.ts @@ -112,7 +112,7 @@ export class Blockchain { // injected into their browser. provider = new ProviderEngine(); provider.addProvider(new FilterSubprovider()); - const networkId = configs.IS_MAINNET_ENABLED ? constants.NETWORK_ID_MAINNET : constants.NETWORK_ID_TESTNET; + const networkId = configs.IS_MAINNET_ENABLED ? constants.NETWORK_ID_MAINNET : constants.NETWORK_ID_KOVAN; provider.addProvider(new RedundantRPCSubprovider(configs.PUBLIC_NODE_URLS_BY_NETWORK_ID[networkId])); provider.start(); } @@ -710,7 +710,7 @@ export class Blockchain { const provider = await Blockchain._getProviderAsync(injectedWeb3, networkIdIfExists); this.networkId = !_.isUndefined(networkIdIfExists) ? networkIdIfExists - : configs.IS_MAINNET_ENABLED ? constants.NETWORK_ID_MAINNET : constants.NETWORK_ID_TESTNET; + : configs.IS_MAINNET_ENABLED ? constants.NETWORK_ID_MAINNET : constants.NETWORK_ID_KOVAN; this._dispatcher.updateNetworkId(this.networkId); const zeroExConfigs = { networkId: this.networkId, |