Skip to content

After prepayment fails lnd keeps trying to pay the swap, delaying failure notification. #740

@gtochim

Description

@gtochim

A successful loop out involves two off chain payments: the prepay and the swap.

If the prepay fails early, the swap is bound to fail, but loop never communicates to lnd that it should stop trying to make this payment.

Once one of the offchain payment fails, we should ask lnd to "stop trying" to fulfill the other payment. We can't rely on lnd's timeout, since loop sets this to 60 minutes (this makes sense, since the swap payments might take a while to find a route).

Edit:

I'm on version v0.23.0-beta

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions