ElementsProject / peerswap

MIT License
110 stars 40 forks source link

swap: add a recovery process for AwaitFeeInvoice #293

Closed YusukeShimizu closed 7 months ago

YusukeShimizu commented 7 months ago

AwaitFeeInvoicestate to hang in case of state mismatch with peer. https://github.com/ElementsProject/peerswap/issues/290

To eliminate the persistence of uncompleted swaps, execute "cancel" if recovery by restart is executed in AwaitFeeInvoice state.