From 661bf6f493567636aa18c43c689568dc1edc7565 Mon Sep 17 00:00:00 2001 From: binarybaron <86064887+binarybaron@users.noreply.github.com> Date: Fri, 28 Jun 2024 15:12:43 +0200 Subject: [PATCH] Update concurrent_bobs_before_xmr_lock_proof_sent.rs --- swap/tests/concurrent_bobs_before_xmr_lock_proof_sent.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/swap/tests/concurrent_bobs_before_xmr_lock_proof_sent.rs b/swap/tests/concurrent_bobs_before_xmr_lock_proof_sent.rs index 8c86f510..1a02ab03 100644 --- a/swap/tests/concurrent_bobs_before_xmr_lock_proof_sent.rs +++ b/swap/tests/concurrent_bobs_before_xmr_lock_proof_sent.rs @@ -48,12 +48,12 @@ async fn concurrent_bobs_before_xmr_lock_proof_sent() { // The 1st (paused) swap is expected to finish successfully because the transfer proof is buffered when it is receives while another swap is running. - let bob_state_1 = bob::run(bob_swap_1).await?; - assert!(matches!(bob_state_1, BobState::XmrRedeemed { .. })); - let alice_state_1 = alice_swap_1.await??; assert!(matches!(alice_state_1, AliceState::BtcRedeemed { .. })); + let bob_state_1 = bob::run(bob_swap_1).await?; + assert!(matches!(bob_state_1, BobState::XmrRedeemed { .. })); + Ok(()) }) .await;