mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-09-21 13:24:39 -04:00
Update request.rs
This commit is contained in:
parent
768da0d794
commit
99dfa895bb
1 changed files with 1 additions and 2 deletions
|
@ -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": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue