Update request.rs

This commit is contained in:
binarybaron 2023-08-20 00:40:21 +02:00 committed by binarybaron
parent 768da0d794
commit 99dfa895bb

View file

@ -172,7 +172,6 @@ impl Request {
let state_name = format!("{}", swap_state); let state_name = format!("{}", swap_state);
// variable timelock: Option<Result<ExpiredTimelocks>>
let timelock = match swap_state { let timelock = match swap_state {
BobState::Started { .. } BobState::Started { .. }
| BobState::SafelyAborted | BobState::SafelyAborted
@ -194,7 +193,7 @@ impl Request {
| BobState::XmrRedeemed { .. } => None, | BobState::XmrRedeemed { .. } => None,
}; };
// Add txids // TODO: Add relevant txids
Ok(json!({ Ok(json!({
"swapId": swap_id, "swapId": swap_id,
"seller": { "seller": {