mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-07-09 08:09:51 -04:00
Use assert_bob_punished
This commit is contained in:
parent
789f25be3f
commit
1c6e757f02
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ async fn alice_manually_punishes_after_bob_dead_and_bob_cancels() {
|
|||
|
||||
let state =
|
||||
cli::cancel_and_refund(bob_swap_id, bob_swap.bitcoin_wallet, bob_swap.db).await?;
|
||||
assert!(matches!(state, BobState::BtcPunished { .. }));
|
||||
ctx.assert_bob_punished(state).await;
|
||||
Ok(())
|
||||
})
|
||||
.await;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue