alexbosworth / ln-service

Node.js interface to LND
MIT License
318 stars 61 forks source link

Paying fails after failed probe #175

Open adambor opened 1 year ago

adambor commented 1 year ago

So I am trying to support this snowflake of a wallet that Muun is. It doesn't support probing and just silently fails it, which leads the LND to think that there is no route to that destination. So after I do probeForRoute subsequent calls to pay just instantly fail (with PaymentPathfindingFailedToFindPossibleRoute) because of that prior routing failure. Is it somehow possible to let LND forget about this failed routing attempt (when probing) and make it retry the routing for pay? I already tried deleteFailedPayAttempts and deleteFailedPayments but to no avail. Only thing that works is getRouteToDestination with is_ignoring_past_failures=true.

alexbosworth commented 1 year ago

deleteForwardingReputations