diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-12 07:23:19 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-12 08:45:35 +0800 |
commit | fbf89aea1c710f4af131fa8d5653e0f1914ff88a (patch) | |
tree | 639849b7dcf7e02e8b4698f09e6d99c0b71e619d /test/utils | |
parent | 98e8a6dd706f0a630402d9009ad3dcf9b0ff872d (diff) | |
download | dexon-sol-tools-fbf89aea1c710f4af131fa8d5653e0f1914ff88a.tar dexon-sol-tools-fbf89aea1c710f4af131fa8d5653e0f1914ff88a.tar.gz dexon-sol-tools-fbf89aea1c710f4af131fa8d5653e0f1914ff88a.tar.bz2 dexon-sol-tools-fbf89aea1c710f4af131fa8d5653e0f1914ff88a.tar.lz dexon-sol-tools-fbf89aea1c710f4af131fa8d5653e0f1914ff88a.tar.xz dexon-sol-tools-fbf89aea1c710f4af131fa8d5653e0f1914ff88a.tar.zst dexon-sol-tools-fbf89aea1c710f4af131fa8d5653e0f1914ff88a.zip |
Make getOrderHashHex static
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 22bf44c0f..fc4adebd9 100644 --- a/test/utils/order_factory.ts +++ b/test/utils/order_factory.ts @@ -34,7 +34,7 @@ export const orderFactory = { feeRecipient, expirationUnixTimestampSec, }; - const orderHash = zeroEx.getOrderHashHex(order); + const orderHash = ZeroEx.getOrderHashHex(order); const ecSignature = await zeroEx.signOrderHashAsync(orderHash, maker); const signedOrder: SignedOrder = _.assign(order, {ecSignature}); return signedOrder; |