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