aboutsummaryrefslogtreecommitdiffstats
path: root/packages/testnet-faucets/src
diff options
context:
space:
mode:
authorJacob Evans <jacob@dekz.net>2018-02-02 08:26:49 +0800
committerJacob Evans <jacob@dekz.net>2018-02-02 08:26:49 +0800
commit76eb1e9e7ff771a256b0ddeeabe2dc10e3861d14 (patch)
tree57acab4e9c53877d3ddcf49f61d551a022764021 /packages/testnet-faucets/src
parentb7af597668668124a4bc28f2e621ef5d07d4bd5a (diff)
downloaddexon-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')
-rw-r--r--packages/testnet-faucets/src/ts/handler.ts4
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({