mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-20 15:40:48 -04:00
Use Message4
This commit is contained in:
parent
124d6f1ebb
commit
d2a1937f51
13 changed files with 211 additions and 107 deletions
|
@ -83,7 +83,7 @@ impl From<Alice> for AliceState {
|
|||
match db_state {
|
||||
Alice::Started { amounts, state0 } => AliceState::Started { amounts, state0 },
|
||||
Alice::Negotiated(state3) => AliceState::Negotiated {
|
||||
channel: None,
|
||||
bob_peer_id: None,
|
||||
amounts: SwapAmounts {
|
||||
btc: state3.btc,
|
||||
xmr: state3.xmr,
|
||||
|
@ -91,7 +91,7 @@ impl From<Alice> for AliceState {
|
|||
state3: Box::new(state3),
|
||||
},
|
||||
Alice::BtcLocked(state3) => AliceState::BtcLocked {
|
||||
channel: None,
|
||||
bob_peer_id: None,
|
||||
amounts: SwapAmounts {
|
||||
btc: state3.btc,
|
||||
xmr: state3.xmr,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue