diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-30 03:54:41 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-30 03:54:41 +0800 |
commit | fa3963199eb875fdd6a70235cee263c39c317baa (patch) | |
tree | 872d6129e6d9c1781d68ad18ebf5d5d0c3b3a3f0 /test/utils | |
parent | e1e79519b9430427dd6cbe2bfa9ced246ff14fbc (diff) | |
download | dexon-0x-contracts-fa3963199eb875fdd6a70235cee263c39c317baa.tar dexon-0x-contracts-fa3963199eb875fdd6a70235cee263c39c317baa.tar.gz dexon-0x-contracts-fa3963199eb875fdd6a70235cee263c39c317baa.tar.bz2 dexon-0x-contracts-fa3963199eb875fdd6a70235cee263c39c317baa.tar.lz dexon-0x-contracts-fa3963199eb875fdd6a70235cee263c39c317baa.tar.xz dexon-0x-contracts-fa3963199eb875fdd6a70235cee263c39c317baa.tar.zst dexon-0x-contracts-fa3963199eb875fdd6a70235cee263c39c317baa.zip |
Make zeroEx.getOrderHashHex non-async
Diffstat (limited to 'test/utils')
-rw-r--r-- | test/utils/order_factory.ts | 2 |
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; |