peerswap icon indicating copy to clipboard operation
peerswap copied to clipboard

Cancel Swap API

Open kornpow opened this issue 3 years ago • 2 comments

I realize cancelling a swap mid-swap would be kind of bad, but there are situations where it appears to me like peerswap has mentioned in the logs that something has timed out, but it doesnt move the swap state to a cancelled state.

Currently I have a stuck swap in this state: State_SwapOutSender_AwaitTxBroadcastedMessage

In general, would be good to have a way to explicity say "I know what I am doing, cancel the swap", because currently I've tried, disconnecting the peer, and restarting the daemon, but the swap wont go away.

kornpow avatar Jul 04 '22 19:07 kornpow

@wtogami Is this part of our definition of stable and should be part of the next release?

nepet avatar Sep 28 '22 17:09 nepet

I think this is a valid thing to add however after all the fixes this past year I haven't seen a situation where this is needed anymore?

wtogami avatar Jul 14 '23 13:07 wtogami