diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-13 01:55:51 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-13 09:06:13 +0800 |
commit | d4dc428124a210cc6b8e1c50527a08e902bfadd0 (patch) | |
tree | 77867e84c46165da5e2bccac1b481ba4516349db | |
parent | f5608d2c94bcee05a76ef102f235f5e860820567 (diff) | |
download | dexon-sol-tools-d4dc428124a210cc6b8e1c50527a08e902bfadd0.tar dexon-sol-tools-d4dc428124a210cc6b8e1c50527a08e902bfadd0.tar.gz dexon-sol-tools-d4dc428124a210cc6b8e1c50527a08e902bfadd0.tar.bz2 dexon-sol-tools-d4dc428124a210cc6b8e1c50527a08e902bfadd0.tar.lz dexon-sol-tools-d4dc428124a210cc6b8e1c50527a08e902bfadd0.tar.xz dexon-sol-tools-d4dc428124a210cc6b8e1c50527a08e902bfadd0.tar.zst dexon-sol-tools-d4dc428124a210cc6b8e1c50527a08e902bfadd0.zip |
Remove tautology check
-rw-r--r-- | src/order_watcher/order_state_watcher.ts | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/order_watcher/order_state_watcher.ts b/src/order_watcher/order_state_watcher.ts index 685d67455..e6250cef5 100644 --- a/src/order_watcher/order_state_watcher.ts +++ b/src/order_watcher/order_state_watcher.ts @@ -225,9 +225,6 @@ export class OrderStateWatcher { private async _emitRevalidateOrdersAsync(orderHashes: string[]): Promise<void> { for (const orderHash of orderHashes) { const signedOrder = this._orderByOrderHash[orderHash] as SignedOrder; - if (_.isUndefined(this._orderStateUtils)) { - break; // Unsubscribe was called - } const orderState = await this._orderStateUtils.getOrderStateAsync(signedOrder); if (_.isUndefined(this._callbackIfExistsAsync)) { break; // Unsubscribe was called |