]> git.bitcoin.ninja Git - rust-lightning/commit
Include rounded msat balances in `Balance::ClaimableOnChannelClose`
authorMatt Corallo <git@bluematt.me>
Tue, 14 Nov 2023 22:19:19 +0000 (22:19 +0000)
committerDuncan Dean <git@dunxen.dev>
Tue, 13 Aug 2024 11:26:57 +0000 (13:26 +0200)
commitf5a614eb0b022a2c8f8ea170d822eb28f0b828c9
tree660d5e2125ef002f54ddcbdd271b04c433e4e604
parenta39357e08a86a71e80451ab56f36a17f36178a55
Include rounded msat balances in `Balance::ClaimableOnChannelClose`

If we're gonna push users towards using `Balance` to determine
their current balances, we really need to provide more information,
including msat balances.

Here we add rounded-out msat balances to the pre-close balance
information
lightning/src/chain/channelmonitor.rs
lightning/src/ln/monitor_tests.rs