mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-30 12:36:36 -05:00
formalize description
This commit is contained in:
parent
7f80966b86
commit
5dc717d3e8
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue