C-Otto / lnd-manageJ

MIT License
52 stars 11 forks source link

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

Closed C-Otto closed 2 years ago

C-Otto commented 2 years ago

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

C-Otto commented 2 years ago

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.