Mohan

Results 155 comments of Mohan

Any update on this? I'd like to use it for one of my projects, should I just install the branch?

Possibly related to this https://github.com/comit-network/xmr-btc-swap/issues/828 issue by @rishflab

https://github.com/comit-network/xmr-btc-swap/issues/844#issuecomment-966333177

The same issue occurs when Bob locks his BTC and Alice then goes offline. Bob will not automatically refund because the cli will crash.

Relevant piece of code: https://github.com/comit-network/xmr-btc-swap/blob/d7a60287f7449a2d0a6218b460e1bfdb3be5b73b/swap/src/protocol/bob/swap.rs#L188-L207

> Is this a "permanent" error, where both `resume` and `cancel`+`refund` fail and the swap cannot be recovered? I suspect that the swap can be recovered using the `cancel +...

https://github.com/comit-network/xmr-btc-swap/issues/1063 is probably related. There seems to be an underlying issue with how we detect expired timelocks.

https://github.com/comit-network/xmr-btc-swap/blob/d7a60287f7449a2d0a6218b460e1bfdb3be5b73b/swap/src/protocol/bob/swap.rs#L127-L146 Same issue here. If the CLI can't receive the transfer proof it will bail and not refund automatically. ``` {"timestamp":"Jul 26 16:42:43.052","level":"DEBUG","fields":{"message":"Using existing sqlite database."}} {"timestamp":"Jul 26 16:42:43.057","level":"DEBUG","fields":{"message":"Reading in...

Fyi the timestamps are saved in the database (We display them in the GUI)

https://github.com/comit-network/xmr-btc-swap/issues/835 is duplicate of this issue