From d4dc428124a210cc6b8e1c50527a08e902bfadd0 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Sun, 12 Nov 2017 12:55:51 -0500 Subject: Remove tautology check --- src/order_watcher/order_state_watcher.ts | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') 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 { 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 -- cgit v1.2.3