mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-18 19:18:33 -04:00
Add address at the start
Do not carry peer id around as we currently only expect one peer.
This commit is contained in:
parent
7d3b2faedd
commit
49b84d84b9
10 changed files with 99 additions and 180 deletions
|
@ -88,7 +88,6 @@ async fn happy_path() {
|
|||
)
|
||||
.boxed();
|
||||
|
||||
let alice_peer_id = alice_event_loop.peer_id();
|
||||
let alice_fut = select(alice_swap_fut, alice_event_loop.run().boxed());
|
||||
|
||||
let bob_swap_fut = bob::swap::swap(
|
||||
|
@ -99,8 +98,6 @@ async fn happy_path() {
|
|||
bob_xmr_wallet.clone(),
|
||||
OsRng,
|
||||
Uuid::new_v4(),
|
||||
alice_peer_id,
|
||||
alice_multiaddr,
|
||||
)
|
||||
.boxed();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue