aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/utils.ts')
-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 bad5b6498..a20fa2243 100644
--- a/src/utils/utils.ts
+++ b/src/utils/utils.ts
@@ -29,9 +29,9 @@ export const utils = {
spawnSwitchErr(name: string, value: any): Error {
return new Error(`Unexpected switch value: ${value} encountered for ${name}`);
},
- getOrderHashHex(order: Order|SignedOrder, exchangeContractAddr: string): string {
+ getOrderHashHex(order: Order|SignedOrder): string {
const orderParts = [
- {value: exchangeContractAddr, type: SolidityTypes.address},
+ {value: order.exchangeContractAddress, type: SolidityTypes.address},
{value: order.maker, type: SolidityTypes.address},
{value: order.taker, type: SolidityTypes.address},
{value: order.makerTokenAddress, type: SolidityTypes.address},