aboutsummaryrefslogtreecommitdiffstats
path: root/packages/testnet-faucets/src/ts/handler.ts
diff options
context:
space:
mode:
authorFrancesco Agosti <francesco.agosti93@gmail.com>2018-06-07 08:21:09 +0800
committerGitHub <noreply@github.com>2018-06-07 08:21:09 +0800
commit67c4ad128c405692e471274148c9a2ef7cd8b6ca (patch)
treeb410c792b110bbae4d1814aab8115b2b3120f65d /packages/testnet-faucets/src/ts/handler.ts
parent5989844f1c3d00f57f1ab86a00aa97e17751c576 (diff)
parent870eca0d9f875f784c1847993246db3097f68405 (diff)
downloaddexon-sol-tools-67c4ad128c405692e471274148c9a2ef7cd8b6ca.tar
dexon-sol-tools-67c4ad128c405692e471274148c9a2ef7cd8b6ca.tar.gz
dexon-sol-tools-67c4ad128c405692e471274148c9a2ef7cd8b6ca.tar.bz2
dexon-sol-tools-67c4ad128c405692e471274148c9a2ef7cd8b6ca.tar.lz
dexon-sol-tools-67c4ad128c405692e471274148c9a2ef7cd8b6ca.tar.xz
dexon-sol-tools-67c4ad128c405692e471274148c9a2ef7cd8b6ca.tar.zst
dexon-sol-tools-67c4ad128c405692e471274148c9a2ef7cd8b6ca.zip
Merge pull request #662 from 0xProject/feature/improve-linting
Tried 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}`);