aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/blockchain.ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-02-07 03:45:55 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-02-07 03:45:55 +0800
commit5fcb77e591c612be8beef1a3761132e053eaf8f3 (patch)
tree824de6de4d114c9cb2b3aa3d0633fa6791a6ff71 /packages/website/ts/blockchain.ts
parent83d0bad3a1e6635dedb46fbd99ee1bec5246d4bf (diff)
parent629653425da973df0ac5d21d11da5a61c3a31e09 (diff)
downloaddexon-sol-tools-5fcb77e591c612be8beef1a3761132e053eaf8f3.tar
dexon-sol-tools-5fcb77e591c612be8beef1a3761132e053eaf8f3.tar.gz
dexon-sol-tools-5fcb77e591c612be8beef1a3761132e053eaf8f3.tar.bz2
dexon-sol-tools-5fcb77e591c612be8beef1a3761132e053eaf8f3.tar.lz
dexon-sol-tools-5fcb77e591c612be8beef1a3761132e053eaf8f3.tar.xz
dexon-sol-tools-5fcb77e591c612be8beef1a3761132e053eaf8f3.tar.zst
dexon-sol-tools-5fcb77e591c612be8beef1a3761132e053eaf8f3.zip
Merge branch 'development' into feature/testnet-faucets/order-dispenser
* development: Update utils in top level package to 0.3.0 Add 0.2.0 back to yarn lock Reword comment on any Link to the wiki article in the README Justify the any usage Publish Revert "Temp" Changelog Change the InjectedWeb3Subprovider to accept Web3.Provider
Diffstat (limited to 'packages/website/ts/blockchain.ts')
-rw-r--r--packages/website/ts/blockchain.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/blockchain.ts b/packages/website/ts/blockchain.ts
index 71995e2cd..099efb405 100644
--- a/packages/website/ts/blockchain.ts
+++ b/packages/website/ts/blockchain.ts
@@ -100,7 +100,7 @@ export class Blockchain {
// We catch all requests involving a users account and send it to the injectedWeb3
// instance. All other requests go to the public hosted node.
provider = new ProviderEngine();
- provider.addProvider(new InjectedWeb3Subprovider(injectedWeb3));
+ provider.addProvider(new InjectedWeb3Subprovider(injectedWeb3.currentProvider));
provider.addProvider(new FilterSubprovider());
provider.addProvider(new RedundantRPCSubprovider(publicNodeUrlsIfExistsForNetworkId));
provider.start();