diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-08-24 00:28:30 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-08-24 15:55:02 +0800 |
commit | 32b214179468dc56a7013bc9399ff968e9d455fc (patch) | |
tree | 5126f277e738405f4406a8533992359b4e574ea1 /src/utils/order_validation_utils.ts | |
parent | 1e7a87e2a377631a5e01860620465648fec52c7f (diff) | |
download | dexon-0x-contracts-32b214179468dc56a7013bc9399ff968e9d455fc.tar dexon-0x-contracts-32b214179468dc56a7013bc9399ff968e9d455fc.tar.gz dexon-0x-contracts-32b214179468dc56a7013bc9399ff968e9d455fc.tar.bz2 dexon-0x-contracts-32b214179468dc56a7013bc9399ff968e9d455fc.tar.lz dexon-0x-contracts-32b214179468dc56a7013bc9399ff968e9d455fc.tar.xz dexon-0x-contracts-32b214179468dc56a7013bc9399ff968e9d455fc.tar.zst dexon-0x-contracts-32b214179468dc56a7013bc9399ff968e9d455fc.zip |
Remove unused var
Diffstat (limited to 'src/utils/order_validation_utils.ts')
-rw-r--r-- | src/utils/order_validation_utils.ts | 1 |
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); } |