-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Properly advance state when swap is manually refunded #903
Comments
xmr-btc-swap/swap/src/protocol/bob/state.rs Lines 660 to 666 in 3ce4dff
xmr-btc-swap/swap/src/protocol/bob/state.rs Lines 644 to 658 in 3ce4dff
It seems that you have to wait for the refund transaction to be confirmed with 2 confirmations and only then the state will be advanced to |
934: Don't wait for refund transaction to receive confirmations r=binarybaron a=binarybaron Don't wait for refund transaction to receive confirmations to mitigate a scenario where the swap is stuck in `BtcCancelled` because it's not resumable. Closes #903 Co-authored-by: binarybaron <86064887+binarybaron@users.noreply.github.com>
Describe the bug
When manually refunding a swap, the state that is saved in the database is not advanced properly.
Lost/trapped Funds
No
Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: