Skip to content

Commit

Permalink
add a todo
Browse files Browse the repository at this point in the history
  • Loading branch information
mariocynicys committed Sep 26, 2024
1 parent 99beb7e commit 5777be3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mm2src/mm2_main/src/lp_ordermatch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<CancelOrderResponse, MmError<CancelOrderError>> {
let ordermatch_ctx = match OrdermatchContext::from_ctx(&ctx) {
Ok(x) => x,
Expand Down

0 comments on commit 5777be3

Please sign in to comment.