mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-09-19 20:34:38 -04:00
alice::SwapFactory
should be consumed once a swap is returned
This commit is contained in:
parent
9b32409b8d
commit
b21dc03ed0
8 changed files with 37 additions and 45 deletions
|
@ -4,7 +4,7 @@ pub mod testutils;
|
|||
|
||||
#[tokio::test]
|
||||
async fn given_alice_restarts_after_encsig_is_learned_resume_swap() {
|
||||
testutils::setup_test(|ctx| async move {
|
||||
testutils::setup_test(|mut ctx| async move {
|
||||
let alice_swap = ctx.new_swap_as_alice().await;
|
||||
let bob_swap = ctx.new_swap_as_bob().await;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue