xmr-btc-swap
xmr-btc-swap copied to clipboard
Improve usability of refund
User can try to refund even if it is no longer possible. We will show plain text error rather than ugly JSON error, see #674 for more info.
Fixes #683
I'm not sure about fn cancel
because it does error handling in proper way (as i understand), but logs it to tracing, rather than showing it to user.
Please work on an accompanying test, you could use this one as a starting point
https://github.com/comit-network/xmr-btc-swap/blob/master/swap/tests/alice_manually_punishes_after_bob_dead.rs
sorry, can you unassign me? i'm a bit busy and i'm not sure if i can make this.
sorry, can you unassign me? i'm a bit busy and i'm not sure if i can make this.
Sure thing. I'll leave this open as a starting point for someone else.
Closing this in favour of https://github.com/comit-network/xmr-btc-swap/pull/1668