From b93d57fff6ad493e8f192ab307bade8961e6e0bc Mon Sep 17 00:00:00 2001 From: patrini32 <171664803+patrini32@users.noreply.github.com> Date: Wed, 5 Jun 2024 23:38:38 +0300 Subject: [PATCH] formalize description --- .../alice_manually_punishes_after_bob_dead_and_bob_cancels.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swap/tests/alice_manually_punishes_after_bob_dead_and_bob_cancels.rs b/swap/tests/alice_manually_punishes_after_bob_dead_and_bob_cancels.rs index f1e8ad1d..c7344883 100644 --- a/swap/tests/alice_manually_punishes_after_bob_dead_and_bob_cancels.rs +++ b/swap/tests/alice_manually_punishes_after_bob_dead_and_bob_cancels.rs @@ -76,7 +76,7 @@ async fn alice_manually_punishes_after_bob_dead_and_bob_cancels() { assert!(matches!(bob_swap.state, BobState::BtcLocked { .. })); // Bob is out of sync with Alice. let state = cli::cancel_and_refund(bob_swap_id, bob_swap.bitcoin_wallet, bob_swap.db).await?; // Bob tries to cancel and refund. - ctx.assert_bob_punished(state).await; // Bob should be in punished state now. (This PR adds that behaviour.) + ctx.assert_bob_punished(state).await; // Bob should be in punished state now. (PR #1668 adds that behaviour.) Ok(()) }) .await;