Skip to content

Should we update payment store if we fail finding a route? #903

@tnull

Description

@tnull

Currently, when we fail to find a route for a given payment, we update the payment store to PaymentFailed and return an error.

However, this means that the user won't be able to retry paying the same invoice as we'll of course avoid duplicate payments if we already have the payment hash in the store. This is maybe somewhat unnecessary in this case, as, when we fail to find a route, we never get to the point where the payment is sent out, hence we should be able to safely retry that payment.

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