aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/utils/order_validation_utils.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/utils/order_validation_utils.ts b/src/utils/order_validation_utils.ts
index 563d3d617..379ff5fdf 100644
--- a/src/utils/order_validation_utils.ts
+++ b/src/utils/order_validation_utils.ts
@@ -58,7 +58,6 @@ export class OrderValidationUtils {
if (cancelTakerTokenAmount.eq(0)) {
throw new Error(ExchangeContractErrs.OrderCancelAmountZero);
}
- const orderHash = utils.getOrderHashHex(order);
if (order.takerTokenAmount.minus(unavailableTakerTokenAmount).eq(0)) {
throw new Error(ExchangeContractErrs.OrderAlreadyCancelledOrFilled);
}