aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-08-24 00:28:30 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-08-24 15:55:02 +0800
commit32b214179468dc56a7013bc9399ff968e9d455fc (patch)
tree5126f277e738405f4406a8533992359b4e574ea1 /src/utils
parent1e7a87e2a377631a5e01860620465648fec52c7f (diff)
downloaddexon-sol-tools-32b214179468dc56a7013bc9399ff968e9d455fc.tar
dexon-sol-tools-32b214179468dc56a7013bc9399ff968e9d455fc.tar.gz
dexon-sol-tools-32b214179468dc56a7013bc9399ff968e9d455fc.tar.bz2
dexon-sol-tools-32b214179468dc56a7013bc9399ff968e9d455fc.tar.lz
dexon-sol-tools-32b214179468dc56a7013bc9399ff968e9d455fc.tar.xz
dexon-sol-tools-32b214179468dc56a7013bc9399ff968e9d455fc.tar.zst
dexon-sol-tools-32b214179468dc56a7013bc9399ff968e9d455fc.zip
Remove unused var
Diffstat (limited to 'src/utils')
-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);
}