aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/0x.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/0x.ts b/src/0x.ts
index fbfea8145..1f66e73b6 100644
--- a/src/0x.ts
+++ b/src/0x.ts
@@ -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;