Add helper for getting claimable balance
authorbenthecarman <benthecarman@live.com>
Fri, 2 Jun 2023 19:39:16 +0000 (14:39 -0500)
committerbenthecarman <benthecarman@live.com>
Wed, 7 Jun 2023 18:39:50 +0000 (13:39 -0500)
commit06c6750b542d99e616e769c97caf4147537a66df
treec85565fb62377b376b669dc0348fb9be4c775635
parentfb140b55c73171ad91992e39563e970791b66855
Add helper for getting claimable balance

It is annoying to have to match across all the enums of `Balance` to
just pull out the `claimable_amount_satoshis` value. This helper makes
it easier if you just want to amount.
lightning/src/chain/channelmonitor.rs