rust-lightning/lightning
Matt Corallo 00607a5286 Add missing break when scoring a path with a missing channel
If we send payments over a path where a channel ended up being
closed, we'll remove it before we call
`ProbabilisticPaymentScorer::payment_path_failed`. This should be
fine, except that `payment_path_failed` does not break out of its
scoring loop if a channel is missing, causing it to assign a
minimum available-liquidity of the payment amount even to channels
which our attempt never arrived at.

The fix is simple - add the missing check and break.
2022-11-02 20:09:32 +00:00
..
src Add missing break when scoring a path with a missing channel 2022-11-02 20:09:32 +00:00
Cargo.toml Bump crate versions to 0.0.112/invoice 0.20 2022-10-24 18:53:58 +00:00