aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/asset-buyer/src/utils/order_fetcher_response_processor.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/asset-buyer/src/utils/order_fetcher_response_processor.ts b/packages/asset-buyer/src/utils/order_fetcher_response_processor.ts
index f1116a80f..f700cadf9 100644
--- a/packages/asset-buyer/src/utils/order_fetcher_response_processor.ts
+++ b/packages/asset-buyer/src/utils/order_fetcher_response_processor.ts
@@ -90,7 +90,7 @@ function filterOutExpiredAndNonOpenOrders(
orders: SignedOrderWithRemainingFillableMakerAssetAmount[],
): SignedOrderWithRemainingFillableMakerAssetAmount[] {
const result = _.filter(orders, order => {
- return orderUtils.isOpenOrder(order) && orderUtils.isOrderExpired(order);
+ return orderUtils.isOpenOrder(order) && !orderUtils.isOrderExpired(order);
});
return result;
}