Files
palladum-lightning/plugins/askrene
Lagrang3 81417958d4 askrene-inform-channel: change order of operations
Change order of operations to ensure that askrene-inform-channel with
inform=constrained computes the correct upper bound on the liquidity:

    upperBound = reserves + amount - 1

With the previous order of operations in the case amount=0 we would get:

    upperBound = reserves

instead of
    upperBound = reserves - 1

Changelog-None

Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
2025-05-13 19:14:57 +09:30
..
2024-11-21 16:17:52 +10:30
2024-11-08 21:48:55 +10:30
2024-11-21 16:17:52 +10:30
2024-11-21 16:17:52 +10:30
2024-11-21 16:17:52 +10:30
2024-11-21 16:17:52 +10:30