diff options
author | Fabio Berger <me@fabioberger.com> | 2017-12-06 08:48:30 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-12-06 08:48:30 +0800 |
commit | e3763bade2a475e2e365b002ee7d664b1e3a107b (patch) | |
tree | 46ffd68d8a09554b855a2c553fa23d83f0d0571e | |
parent | 1ea1c02387b111c46d35141784dc1419420376a4 (diff) | |
download | dexon-sol-tools-e3763bade2a475e2e365b002ee7d664b1e3a107b.tar.gz dexon-sol-tools-e3763bade2a475e2e365b002ee7d664b1e3a107b.tar.zst dexon-sol-tools-e3763bade2a475e2e365b002ee7d664b1e3a107b.zip |
Switch to using our custom base subprovider
-rw-r--r-- | packages/subproviders/src/subproviders/redundant_rpc.ts | 3 |
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( |