From fee0692b9ac9ef653ef7be67eca426fc5587af61 Mon Sep 17 00:00:00 2001 From: binarybaron <86064887+binarybaron@users.noreply.github.com> Date: Fri, 28 Jun 2024 15:13:34 +0200 Subject: [PATCH] Update concurrent_bobs_before_xmr_lock_proof_sent.rs --- swap/tests/concurrent_bobs_before_xmr_lock_proof_sent.rs | 3 +-- 1 file changed, 1 insertion(+), 2 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 1a02ab03..383251af 100644 --- a/swap/tests/concurrent_bobs_before_xmr_lock_proof_sent.rs +++ b/swap/tests/concurrent_bobs_before_xmr_lock_proof_sent.rs @@ -32,8 +32,7 @@ async fn concurrent_bobs_before_xmr_lock_proof_sent() { let alice_swap_2 = tokio::spawn(alice::run(alice_swap_2, FixedRate::default())); // The 2nd swap ALWAYS finish successfully in this - // scenario, but will receive an "unwanted" transfer proof that is ignored in - // the event loop. + // scenario, but will receive an "unwanted" transfer proof that is buffered until the 1st swap is resumed let bob_state_2 = bob_swap_2.await??; assert!(matches!(bob_state_2, BobState::XmrRedeemed { .. }));