Files
lightning/lightningd
Christian Decker 212a3c5ec5 ld: We might not have a failing channel if localfail and sendonion
This happens to be an edge case with the way we use `sendonion` in
MPP. `sendonion` does not attempt to recover the route even if we supply the
shared secrets (it'd require us to map forwarding channels to the nodes etc),
so `failnode` will always be unset, unless it is the first hop, which gets
stored. This is not a problem if it weren't for the fact that we don't store
the partial route, consisting solely of the channel leading to the first hop,
therefore the assertion that either both are NULL or both aren't fails on the
first hop.

This went unnoticed since with MPP we have more concurrent payments in flight,
increasing the chances of a exhausted first hop considerably.
2020-07-15 11:32:58 +02:00
..
2020-07-08 21:07:20 +02:00
2017-10-20 18:31:32 +02:00
2020-05-04 19:18:05 +02:00
2019-12-12 15:03:53 +01:00
2020-07-08 21:07:20 +02:00
2020-07-08 21:07:20 +02:00