mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-30 20:46:33 -05:00
Implemented Alice transition from BtcLocked to XmrLocked
This commit is contained in:
parent
75e7fedfed
commit
8976a03b3d
3 changed files with 140 additions and 20 deletions
|
|
@ -34,6 +34,7 @@ pub enum Rsp {
|
|||
|
||||
/// XMR/BTC swap amounts.
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
|
||||
// TODO(Franck): review necessity of this struct
|
||||
pub struct SwapAmounts {
|
||||
/// Amount of BTC to swap.
|
||||
#[serde(with = "::bitcoin::util::amount::serde::as_sat")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue