diff options
author | Jacob Evans <jacob@dekz.net> | 2018-02-02 08:26:49 +0800 |
---|---|---|
committer | Jacob Evans <jacob@dekz.net> | 2018-02-02 08:26:49 +0800 |
commit | 76eb1e9e7ff771a256b0ddeeabe2dc10e3861d14 (patch) | |
tree | 57acab4e9c53877d3ddcf49f61d551a022764021 /packages/testnet-faucets/src/ts | |
parent | b7af597668668124a4bc28f2e621ef5d07d4bd5a (diff) | |
download | dexon-sol-tools-76eb1e9e7ff771a256b0ddeeabe2dc10e3861d14.tar dexon-sol-tools-76eb1e9e7ff771a256b0ddeeabe2dc10e3861d14.tar.gz dexon-sol-tools-76eb1e9e7ff771a256b0ddeeabe2dc10e3861d14.tar.bz2 dexon-sol-tools-76eb1e9e7ff771a256b0ddeeabe2dc10e3861d14.tar.lz dexon-sol-tools-76eb1e9e7ff771a256b0ddeeabe2dc10e3861d14.tar.xz dexon-sol-tools-76eb1e9e7ff771a256b0ddeeabe2dc10e3861d14.tar.zst dexon-sol-tools-76eb1e9e7ff771a256b0ddeeabe2dc10e3861d14.zip |
Test faucets to use new NonceTracker
Diffstat (limited to 'packages/testnet-faucets/src/ts')
-rw-r--r-- | packages/testnet-faucets/src/ts/handler.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/testnet-faucets/src/ts/handler.ts b/packages/testnet-faucets/src/ts/handler.ts index bf5b3e81e..121112fd3 100644 --- a/packages/testnet-faucets/src/ts/handler.ts +++ b/packages/testnet-faucets/src/ts/handler.ts @@ -1,9 +1,9 @@ +import { NonceTrackerSubprovider } from '@0xproject/subproviders'; import { addressUtils } from '@0xproject/utils'; import * as express from 'express'; import * as _ from 'lodash'; import ProviderEngine = require('web3-provider-engine'); import HookedWalletSubprovider = require('web3-provider-engine/subproviders/hooked-wallet'); -import NonceSubprovider = require('web3-provider-engine/subproviders/nonce-tracker'); import RpcSubprovider = require('web3-provider-engine/subproviders/rpc'); import { EtherRequestQueue } from './ether_request_queue'; @@ -96,7 +96,7 @@ export class Handler { // tslint:disable-next-line:prefer-function-over-method private _createProviderEngine(rpcUrl: string) { const engine = new ProviderEngine(); - engine.addProvider(new NonceSubprovider()); + engine.addProvider(new NonceTrackerSubprovider()); engine.addProvider(new HookedWalletSubprovider(idManagement)); engine.addProvider( new RpcSubprovider({ |