aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Millman <brandon@0xproject.com>2018-02-10 04:01:59 +0800
committerGitHub <noreply@github.com>2018-02-10 04:01:59 +0800
commitfea4b6aecd5b1e80b5e70a6792db056e6b621c8a (patch)
tree7420f3a9bc66c2a92c2518d5f55796a6e5612f17
parent58f1939ec1d3b894b6508b06ed8f276c5d1a462d (diff)
parentef1375b9ddafb357b06b47b185ee901a7a768ac3 (diff)
downloaddexon-sol-tools-fea4b6aecd5b1e80b5e70a6792db056e6b621c8a.tar.gz
dexon-sol-tools-fea4b6aecd5b1e80b5e70a6792db056e6b621c8a.tar.zst
dexon-sol-tools-fea4b6aecd5b1e80b5e70a6792db056e6b621c8a.zip
Merge pull request #387 from 0xProject/fix/testnet-faucet/ecsignature
Testnet Faucet Order conforming to JSON Schema
-rw-r--r--packages/testnet-faucets/src/ts/handler.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/testnet-faucets/src/ts/handler.ts b/packages/testnet-faucets/src/ts/handler.ts
index 5ed9ce628..ac2718f84 100644
--- a/packages/testnet-faucets/src/ts/handler.ts
+++ b/packages/testnet-faucets/src/ts/handler.ts
@@ -159,7 +159,7 @@ export class Handler {
const signature = await zeroEx.signOrderHashAsync(orderHash, configs.DISPENSER_ADDRESS, false);
const signedOrder = {
...order,
- signature,
+ ecSignature: signature,
};
const signedOrderHash = ZeroEx.getOrderHashHex(signedOrder);
const payload = JSON.stringify(signedOrder);