mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 17:44:20 +01:00
This fixes the root cause of https://github.com/ElementsProject/lightning/issues/1212 where we deleted the payment because we wanted to retry, then retry failed so we had an (old) HTLC without a matching payment. We then fed that HTLC to onchaind, which tells us it's missing, and we try to fail the payment and deref a NULL pointer. Fixes: #1212 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>