Remove unused var

This commit is contained in:
Leonid Logvinov
2017-08-23 18:28:30 +02:00
parent 1e7a87e2a3
commit 32b2141794

View File

@@ -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);
}