mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
396c4177a6
Since Alice's refund scenario starts with generating the temporary wallet from keys to claim the XMR which results in Alice' unloading the wallet. Alice then loads her original wallet to be able to handle more swaps. Since Alice is in the role of the long running daemon handling concurrent swaps, the operation to close, claim and re-open her default wallet must be atomic. This PR adds an additional step, that sweeps all the refunded XMR back into the default wallet. In order to ensure that this is possible, Alice has to ensure that the locked XMR got enough confirmations. These changes allow us to assert Alice's balance after refunding. |
||
---|---|---|
.. | ||
testutils | ||
bob_refunds_using_cancel_and_refund_command_timelock_not_expired_force.rs | ||
bob_refunds_using_cancel_and_refund_command_timelock_not_expired.rs | ||
bob_refunds_using_cancel_and_refund_command.rs | ||
happy_path_restart_bob_before_comm.rs | ||
happy_path.rs | ||
punish.rs |