C-Otto/lnd-manageJ

#PickhardtPayments: consider in-flight vs. known liquidity for local channels?

C-Otto opened this issue · 1 comments

Describe the bug
We might not deduct in-flight sats when computing the available liquidity for local channels.

The in-flight amount does not need to be regarded as it is automatically deducted from the available balance. However, the cache might still return the outdated value, if the balance is queried shortly after some amount is sent out.