From c0cf80734410fe656b58d933f43c255b31113d3b Mon Sep 17 00:00:00 2001 From: Richard Holzeis Date: Wed, 28 Feb 2024 10:35:40 +0100 Subject: [PATCH] fix(orderbook): Only return open orders --- coordinator/src/orderbook/db/orders.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coordinator/src/orderbook/db/orders.rs b/coordinator/src/orderbook/db/orders.rs index dbadceb87..30a59b8b0 100644 --- a/coordinator/src/orderbook/db/orders.rs +++ b/coordinator/src/orderbook/db/orders.rs @@ -187,7 +187,7 @@ pub fn all_limit_orders(conn: &mut PgConnection) -> QueryResult(conn)?; Ok(orders.into_iter().map(OrderbookOrder::from).collect())