From 5777be360560d9a715761d707d0aff700bbd1223 Mon Sep 17 00:00:00 2001 From: Omer Yacine Date: Thu, 26 Sep 2024 15:59:31 +0300 Subject: [PATCH] add a todo --- mm2src/mm2_main/src/lp_ordermatch.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/mm2src/mm2_main/src/lp_ordermatch.rs b/mm2src/mm2_main/src/lp_ordermatch.rs index 9829fed75a..8d68859e69 100644 --- a/mm2src/mm2_main/src/lp_ordermatch.rs +++ b/mm2src/mm2_main/src/lp_ordermatch.rs @@ -5127,6 +5127,7 @@ pub struct CancelOrderResponse { result: String, } +// TODO: This is a near copy of the function below, `cancel_order_rpc`. pub async fn cancel_order(ctx: MmArc, req: CancelOrderReq) -> Result> { let ordermatch_ctx = match OrdermatchContext::from_ctx(&ctx) { Ok(x) => x,