mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-02 11:36:09 -04:00
Move message0 response handler out of NB
This commit is contained in:
parent
4143394767
commit
143d8bc07d
11 changed files with 108 additions and 151 deletions
|
@ -123,12 +123,9 @@ pub async fn init_alice_eventloop(
|
|||
redeem_address,
|
||||
punish_address,
|
||||
);
|
||||
let start_state = AliceState::Started {
|
||||
amounts,
|
||||
state0: state0.clone(),
|
||||
};
|
||||
let start_state = AliceState::Started { amounts, state0 };
|
||||
|
||||
let alice_behaviour = alice::Behaviour::new(state0);
|
||||
let alice_behaviour = alice::Behaviour::default();
|
||||
let alice_transport = build(alice_behaviour.identity()).unwrap();
|
||||
|
||||
let (swarm_driver, handle) =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue