Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
swap: exclude non-active swap in csvPassedCallback
csv wait list is always added in AwaitPaymentOrCsvAction state but removed only after csvPassedCallback. csvPassedCallback always assumes an active swap, but in normal flows like preimage path, the swap might be complete, leaving no active swap at this point. This was not considered before, causing continuous errors.
- Loading branch information