aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-30 03:54:41 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-30 03:54:41 +0800
commitfa3963199eb875fdd6a70235cee263c39c317baa (patch)
tree872d6129e6d9c1781d68ad18ebf5d5d0c3b3a3f0 /test/utils
parente1e79519b9430427dd6cbe2bfa9ced246ff14fbc (diff)
downloaddexon-sol-tools-fa3963199eb875fdd6a70235cee263c39c317baa.tar
dexon-sol-tools-fa3963199eb875fdd6a70235cee263c39c317baa.tar.gz
dexon-sol-tools-fa3963199eb875fdd6a70235cee263c39c317baa.tar.bz2
dexon-sol-tools-fa3963199eb875fdd6a70235cee263c39c317baa.tar.lz
dexon-sol-tools-fa3963199eb875fdd6a70235cee263c39c317baa.tar.xz
dexon-sol-tools-fa3963199eb875fdd6a70235cee263c39c317baa.tar.zst
dexon-sol-tools-fa3963199eb875fdd6a70235cee263c39c317baa.zip
Make zeroEx.getOrderHashHex non-async
Diffstat (limited to 'test/utils')
-rw-r--r--test/utils/order_factory.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utils/order_factory.ts b/test/utils/order_factory.ts
index 0ac430dfe..22bf44c0f 100644
--- a/test/utils/order_factory.ts
+++ b/test/utils/order_factory.ts
@@ -34,7 +34,7 @@ export const orderFactory = {
feeRecipient,
expirationUnixTimestampSec,
};
- const orderHash = await zeroEx.getOrderHashHexAsync(order);
+ const orderHash = zeroEx.getOrderHashHex(order);
const ecSignature = await zeroEx.signOrderHashAsync(orderHash, maker);
const signedOrder: SignedOrder = _.assign(order, {ecSignature});
return signedOrder;