aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-06 08:48:30 +0800
committerFabio Berger <me@fabioberger.com>2017-12-06 08:48:30 +0800
commite3763bade2a475e2e365b002ee7d664b1e3a107b (patch)
tree46ffd68d8a09554b855a2c553fa23d83f0d0571e /packages
parent1ea1c02387b111c46d35141784dc1419420376a4 (diff)
downloaddexon-sol-tools-e3763bade2a475e2e365b002ee7d664b1e3a107b.tar
dexon-sol-tools-e3763bade2a475e2e365b002ee7d664b1e3a107b.tar.gz
dexon-sol-tools-e3763bade2a475e2e365b002ee7d664b1e3a107b.tar.bz2
dexon-sol-tools-e3763bade2a475e2e365b002ee7d664b1e3a107b.tar.lz
dexon-sol-tools-e3763bade2a475e2e365b002ee7d664b1e3a107b.tar.xz
dexon-sol-tools-e3763bade2a475e2e365b002ee7d664b1e3a107b.tar.zst
dexon-sol-tools-e3763bade2a475e2e365b002ee7d664b1e3a107b.zip
Switch to using our custom base subprovider
Diffstat (limited to 'packages')
-rw-r--r--packages/subproviders/src/subproviders/redundant_rpc.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/subproviders/src/subproviders/redundant_rpc.ts b/packages/subproviders/src/subproviders/redundant_rpc.ts
index 43d711ee6..362e7e385 100644
--- a/packages/subproviders/src/subproviders/redundant_rpc.ts
+++ b/packages/subproviders/src/subproviders/redundant_rpc.ts
@@ -1,10 +1,11 @@
import promisify = require('es6-promisify');
import * as _ from 'lodash';
import RpcSubprovider = require('web3-provider-engine/subproviders/rpc');
-import Subprovider = require('web3-provider-engine/subproviders/subprovider');
import {JSONRPCPayload} from '../types';
+import {Subprovider} from './subprovider';
+
export class RedundantRPCSubprovider extends Subprovider {
private rpcs: RpcSubprovider[];
private static async firstSuccessAsync(