alexbosworth / lightning

Lightning client methods
MIT License
126 stars 32 forks source link

Missing `id` in `subscribeToPayments` failed event #138

Closed SeverinAlexB closed 1 year ago

SeverinAlexB commented 1 year ago

I am subscribing to payments to receive an event in case one of my payments failed/succeeded. Unfortunately, the failed event in subscribeToPayments doesn't deliver an id field like it is described in the documentation.

CleanShot 2023-05-05 at 19 00 17@2x

Logged output in case failed is called:

{
  is_insufficient_balance: false,
  is_invalid_payment: false,
  is_pathfinding_timeout: false,
  is_route_not_found: true
}

This makes it impossible to associated the event to any payment.

LND version: v0.16.2-beta

SeverinAlexB commented 1 year ago

Closing, seems to be fixed with the most recent version 9.3.0.