rust-lightning/lightning
Matt Corallo 0c3a47c016 Fix tracking of collected value across pathfinding iterations
If we end up "paying" for an `htlc_minimum_msat` with fees, we
increment `already_collected_value_msat` by more than the amount
of the path that we collected (who's `value_contribution_msat` is
higher than the total payment amount, despite having been reduced
down to the payment amount).

This throws off our total value collection target, though in the
coming commit(s) it would also throw off our path selection
calculations.
2022-07-19 15:16:35 +00:00
..
src Fix tracking of collected value across pathfinding iterations 2022-07-19 15:16:35 +00:00
Cargo.toml Bump crate versions to 0.0.109/invoice 0.17 2022-07-01 16:05:33 +00:00