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> |
||
|---|---|---|
| .. | ||
| benchmark.py | ||
| requirements.txt | ||
| test_lightningd.py | ||
| utils.py | ||