@@ -183,12 +183,6 @@ pub struct ChannelDetails {
183183 /// The currently negotiated fee rate denominated in satoshi per 1000 weight units,
184184 /// which is applied to commitment and HTLC transactions.
185185 pub feerate_sat_per_1000_weight : u32 ,
186- /// The total balance of the channel. This is the amount that will be returned to
187- /// the user if the channel is closed.
188- ///
189- /// The value is not exact, due to potential in-flight and fee-rate changes. Therefore, exactly
190- /// this amount is likely irrecoverable on close.
191- pub balance_msat : u64 ,
192186 /// The available outbound capacity for sending HTLCs to the remote peer.
193187 ///
194188 /// The amount does not include any pending HTLCs which are not yet resolved (and, thus, whose
@@ -237,7 +231,6 @@ impl From<LdkChannelDetails> for ChannelDetails {
237231 channel_value_sats : value. channel_value_satoshis ,
238232 unspendable_punishment_reserve : value. unspendable_punishment_reserve ,
239233 user_channel_id : UserChannelId ( value. user_channel_id ) ,
240- balance_msat : value. balance_msat ,
241234 feerate_sat_per_1000_weight : value. feerate_sat_per_1000_weight . unwrap ( ) ,
242235 outbound_capacity_msat : value. outbound_capacity_msat ,
243236 inbound_capacity_msat : value. inbound_capacity_msat ,
0 commit comments