aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-04 05:57:19 +0800
committerFabio Berger <me@fabioberger.com>2018-07-04 05:57:19 +0800
commit2b4bb579d47037fa8c8a2c858bc467ccd8eed3b0 (patch)
treed5a75985b1fbd51cfe54248ac04fdb1efa0c09a6 /packages/website
parenta5653337c1e52cfe95befbbf3924f97cb462846f (diff)
downloaddexon-sol-tools-2b4bb579d47037fa8c8a2c858bc467ccd8eed3b0.tar
dexon-sol-tools-2b4bb579d47037fa8c8a2c858bc467ccd8eed3b0.tar.gz
dexon-sol-tools-2b4bb579d47037fa8c8a2c858bc467ccd8eed3b0.tar.bz2
dexon-sol-tools-2b4bb579d47037fa8c8a2c858bc467ccd8eed3b0.tar.lz
dexon-sol-tools-2b4bb579d47037fa8c8a2c858bc467ccd8eed3b0.tar.xz
dexon-sol-tools-2b4bb579d47037fa8c8a2c858bc467ccd8eed3b0.tar.zst
dexon-sol-tools-2b4bb579d47037fa8c8a2c858bc467ccd8eed3b0.zip
Rename subprovider in blockchain.ts
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/ts/blockchain.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/blockchain.ts b/packages/website/ts/blockchain.ts
index a93ec9331..8f1b33aeb 100644
--- a/packages/website/ts/blockchain.ts
+++ b/packages/website/ts/blockchain.ts
@@ -12,10 +12,10 @@ import {
import { isValidOrderHash, signOrderHashAsync } from '@0xproject/order-utils';
import { EtherscanLinkSuffixes, utils as sharedUtils } from '@0xproject/react-shared';
import {
- InjectedWeb3Subprovider,
ledgerEthereumBrowserClientFactoryAsync,
LedgerSubprovider,
RedundantSubprovider,
+ SignerSubprovider,
Subprovider,
} from '@0xproject/subproviders';
import {
@@ -163,7 +163,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.
const provider = new ProviderEngine();
- provider.addProvider(new InjectedWeb3Subprovider(injectedWeb3.currentProvider));
+ provider.addProvider(new SignerSubprovider(injectedWeb3.currentProvider));
provider.addProvider(new FilterSubprovider());
const rpcSubproviders = _.map(publicNodeUrlsIfExistsForNetworkId, publicNodeUrl => {
return new RpcSubprovider({