diff options
author | Jacob Evans <dekz@dekz.net> | 2018-02-06 09:22:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-06 09:22:45 +0800 |
commit | 225baeb5cb8aed85d3e94a1d82a3c42ff5820d0e (patch) | |
tree | e7e2c65443a809d0e12ac987b84b8c079f949bad /packages/website/ts/blockchain.ts | |
parent | 20590b7d35208bf3fb79ce6f06198ea995b05f91 (diff) | |
parent | cf171d28c70c49541a30534d2593a623dd126f24 (diff) | |
download | dexon-0x-contracts-225baeb5cb8aed85d3e94a1d82a3c42ff5820d0e.tar.gz dexon-0x-contracts-225baeb5cb8aed85d3e94a1d82a3c42ff5820d0e.tar.zst dexon-0x-contracts-225baeb5cb8aed85d3e94a1d82a3c42ff5820d0e.zip |
Merge branch 'development' into feature/subproviders/nonce-tracker
Diffstat (limited to 'packages/website/ts/blockchain.ts')
-rw-r--r-- | packages/website/ts/blockchain.ts | 2 |
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(); |