diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-05 10:48:21 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-05 10:48:21 +0800 |
commit | 9778695b4ad1fd999eb79b01c768a2f2b9938917 (patch) | |
tree | 3c44cd0e16474966f88af5b75846c1d6b7521188 /packages/testnet-faucets/src | |
parent | 70858603ed37de24ae47978a191b3f188f450182 (diff) | |
download | dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.gz dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.zst dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.zip |
Try enabling no-unused-variable...
Diffstat (limited to 'packages/testnet-faucets/src')
-rw-r--r-- | packages/testnet-faucets/src/ts/dispense_asset_tasks.ts | 1 | ||||
-rw-r--r-- | packages/testnet-faucets/src/ts/handler.ts | 3 | ||||
-rw-r--r-- | packages/testnet-faucets/src/ts/parameter_transformer.ts | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/packages/testnet-faucets/src/ts/dispense_asset_tasks.ts b/packages/testnet-faucets/src/ts/dispense_asset_tasks.ts index 39ba4bc14..41b6c90cd 100644 --- a/packages/testnet-faucets/src/ts/dispense_asset_tasks.ts +++ b/packages/testnet-faucets/src/ts/dispense_asset_tasks.ts @@ -4,7 +4,6 @@ import * as _ from 'lodash'; import * as Web3 from 'web3'; import { configs } from './configs'; -import { errorReporter } from './error_reporter'; const DISPENSE_AMOUNT_ETHER = 0.1; const DISPENSE_AMOUNT_TOKEN = 0.1; diff --git a/packages/testnet-faucets/src/ts/handler.ts b/packages/testnet-faucets/src/ts/handler.ts index 3a105742e..ae7492400 100644 --- a/packages/testnet-faucets/src/ts/handler.ts +++ b/packages/testnet-faucets/src/ts/handler.ts @@ -1,4 +1,4 @@ -import { Order, SignedOrder, ZeroEx } from '0x.js'; +import { Order, ZeroEx } from '0x.js'; import { BigNumber, logUtils } from '@0xproject/utils'; import { Provider } from 'ethereum-types'; import * as express from 'express'; @@ -171,6 +171,7 @@ export class Handler { ...order, ecSignature: signature, }; + // tslint:disable-next-line:no-unused-variable const signedOrderHash = ZeroEx.getOrderHashHex(signedOrder); const payload = JSON.stringify(signedOrder); logUtils.log(`Dispensed signed order: ${payload}`); diff --git a/packages/testnet-faucets/src/ts/parameter_transformer.ts b/packages/testnet-faucets/src/ts/parameter_transformer.ts index b9929a0d9..7320b1d1c 100644 --- a/packages/testnet-faucets/src/ts/parameter_transformer.ts +++ b/packages/testnet-faucets/src/ts/parameter_transformer.ts @@ -2,7 +2,6 @@ import { addressUtils } from '@0xproject/utils'; import { NextFunction, Request, Response } from 'express'; import * as _ from 'lodash'; -import { configs } from './configs'; import { constants } from './constants'; import { rpcUrls } from './rpc_urls'; |