Update request.rs

This commit is contained in:
binarybaron 2023-08-20 00:40:21 +02:00
parent 4150f47655
commit b98108df06

View file

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