Files
lightning/lightningd
Christian Decker 71c45dc55c plugin: Call invoice_payment hook before the matching notification
As @fiatjaf points out we were notifying before we were actually set
on accepting, since the hook could also still reject. Switched them
around does and calling the notification only once it's been decided
is the correct thing to do.

Changelog-Fixed: plugin: The `invoice_payment` notification was being sent before the hook was called, which could still abort it.
Suggested-by: Fiatjaf <@fiatjaf>
Signed-off-by: Christian Decker <@cdecker>
2021-03-19 10:18:42 +10:30
..
2021-01-13 14:45:36 +01:00
2021-02-25 14:44:03 +10:30
2020-08-25 12:53:13 +09:30
2021-03-03 16:19:04 -06:00
2021-03-03 16:19:04 -06:00