@@ -183,12 +183,6 @@ pub struct ChannelDetails {
183
183
/// The currently negotiated fee rate denominated in satoshi per 1000 weight units,
184
184
/// which is applied to commitment and HTLC transactions.
185
185
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 ,
192
186
/// The available outbound capacity for sending HTLCs to the remote peer.
193
187
///
194
188
/// 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 {
237
231
channel_value_sats : value. channel_value_satoshis ,
238
232
unspendable_punishment_reserve : value. unspendable_punishment_reserve ,
239
233
user_channel_id : UserChannelId ( value. user_channel_id ) ,
240
- balance_msat : value. balance_msat ,
241
234
feerate_sat_per_1000_weight : value. feerate_sat_per_1000_weight . unwrap ( ) ,
242
235
outbound_capacity_msat : value. outbound_capacity_msat ,
243
236
inbound_capacity_msat : value. inbound_capacity_msat ,
0 commit comments