mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-30 20:46:33 -05:00
Merge branch 'rpc-server' of https://github.com/yamabiiko/xmr-btc-swap into rpc-server
This commit is contained in:
commit
2ec465aec7
7 changed files with 62 additions and 99 deletions
|
|
@ -21,6 +21,7 @@ use std::time::Duration;
|
|||
use tracing::{debug_span, field, Instrument, Span};
|
||||
use uuid::Uuid;
|
||||
|
||||
//TODO: Request and Method can be combined into a single enum
|
||||
#[derive(PartialEq, Debug)]
|
||||
pub struct Request {
|
||||
pub cmd: Method,
|
||||
|
|
@ -272,6 +273,7 @@ impl Request {
|
|||
| BobState::XmrRedeemed { .. } => None,
|
||||
};
|
||||
|
||||
// TODO: Add relevant txids
|
||||
Ok(json!({
|
||||
"swapId": swap_id,
|
||||
"seller": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue