aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/utils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/utils.ts b/src/utils/utils.ts
index 4cea36127..0da83c366 100644
--- a/src/utils/utils.ts
+++ b/src/utils/utils.ts
@@ -4,7 +4,7 @@ import * as ethABI from 'ethereumjs-abi';
import * as ethUtil from 'ethereumjs-util';
import {orderSchema} from '../schemas/order_schemas';
import {SchemaValidator} from './schema_validator';
-import {Order, SolidityTypes} from '../types';
+import {Order, SignedOrder, SolidityTypes} from '../types';
import {assert} from './assert';
import * as BigNumber from 'bignumber.js';
@@ -32,7 +32,7 @@ export const utils = {
spawnSwitchErr(name: string, value: any) {
return new Error(`Unexpected switch value: ${value} encountered for ${name}`);
},
- getOrderHashHex(order: Order, exchangeContractAddr: string): string {
+ getOrderHashHex(order: Order|SignedOrder, exchangeContractAddr: string): string {
assert.doesConformToSchema('order',
SchemaValidator.convertToJSONSchemaCompatibleObject(order as object),
orderSchema);