diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-30 01:34:49 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-30 01:34:49 +0800 |
commit | e9db5327278c8015f8e091ae8de6e6cf95caa126 (patch) | |
tree | 645974e07e573399d8f739813acd67e17423fcae /src | |
parent | dd590ca79eb0fc17ea29286c1cb638745c6c62d4 (diff) | |
download | dexon-sol-tools-e9db5327278c8015f8e091ae8de6e6cf95caa126.tar dexon-sol-tools-e9db5327278c8015f8e091ae8de6e6cf95caa126.tar.gz dexon-sol-tools-e9db5327278c8015f8e091ae8de6e6cf95caa126.tar.bz2 dexon-sol-tools-e9db5327278c8015f8e091ae8de6e6cf95caa126.tar.lz dexon-sol-tools-e9db5327278c8015f8e091ae8de6e6cf95caa126.tar.xz dexon-sol-tools-e9db5327278c8015f8e091ae8de6e6cf95caa126.tar.zst dexon-sol-tools-e9db5327278c8015f8e091ae8de6e6cf95caa126.zip |
Make getOrderHashHex a non-async function
Diffstat (limited to 'src')
-rw-r--r-- | src/0x.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -176,7 +176,7 @@ export class ZeroEx { * @param order An object that conforms to the Order or SignedOrder interface definitions. * @return The resulting orderHash from hashing the supplied order. */ - public async getOrderHashHexAsync(order: Order|SignedOrder): Promise<string> { + public getOrderHashHex(order: Order|SignedOrder): string { assert.doesConformToSchema('order', order, orderSchema); const orderHashHex = utils.getOrderHashHex(order, order.exchangeContractAddress); return orderHashHex; |