Update concurrent_bobs_before_xmr_lock_proof_sent.rs

This commit is contained in:
binarybaron 2024-06-28 15:12:43 +02:00
parent 048cf024ee
commit 661bf6f493

View File

@ -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;