aboutsummaryrefslogtreecommitdiffstats
path: root/packages/testnet-faucets/src/ts/handler.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-05 10:48:21 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-05 10:48:21 +0800
commit9778695b4ad1fd999eb79b01c768a2f2b9938917 (patch)
tree3c44cd0e16474966f88af5b75846c1d6b7521188 /packages/testnet-faucets/src/ts/handler.ts
parent70858603ed37de24ae47978a191b3f188f450182 (diff)
downloaddexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar
dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.gz
dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.bz2
dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.lz
dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.xz
dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.zst
dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.zip
Try enabling no-unused-variable...
Diffstat (limited to 'packages/testnet-faucets/src/ts/handler.ts')
-rw-r--r--packages/testnet-faucets/src/ts/handler.ts3
1 files changed, 2 insertions, 1 deletions
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}`);