mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-06 21:44:49 -04:00
Add Bob restart test
This commit is contained in:
parent
4ec2da29a0
commit
7cae6a9e4d
7 changed files with 139 additions and 410 deletions
|
@ -168,6 +168,10 @@ pub fn is_xmr_locked(state: &BobState) -> bool {
|
|||
matches!(state, BobState::XmrLocked(..))
|
||||
}
|
||||
|
||||
pub fn is_encsig_sent(state: &BobState) -> bool {
|
||||
matches!(state, BobState::EncSigSent(..))
|
||||
}
|
||||
|
||||
// State machine driver for swap execution
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[async_recursion]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue