@@ -200,12 +200,6 @@ pub struct ChannelDetails {
200
200
/// The currently negotiated fee rate denominated in satoshi per 1000 weight units,
201
201
/// which is applied to commitment and HTLC transactions.
202
202
pub feerate_sat_per_1000_weight : u32 ,
203
- /// The total balance of the channel. This is the amount that will be returned to
204
- /// the user if the channel is closed.
205
- ///
206
- /// The value is not exact, due to potential in-flight and fee-rate changes. Therefore, exactly
207
- /// this amount is likely irrecoverable on close.
208
- pub balance_msat : u64 ,
209
203
/// The available outbound capacity for sending HTLCs to the remote peer.
210
204
///
211
205
/// The amount does not include any pending HTLCs which are not yet resolved (and, thus, whose
@@ -270,8 +264,8 @@ pub struct ChannelDetails {
270
264
/// the current state and per-HTLC limit(s). This is intended for use when routing, allowing us
271
265
/// to use a limit as close as possible to the HTLC limit we can currently send.
272
266
///
273
- /// See also [`ChannelDetails::next_outbound_htlc_minimum_msat`],
274
- /// [`ChannelDetails::balance_msat`], and [`ChannelDetails:: outbound_capacity_msat`].
267
+ /// See also [`ChannelDetails::next_outbound_htlc_minimum_msat`] and
268
+ /// [`ChannelDetails::outbound_capacity_msat`].
275
269
pub next_outbound_htlc_limit_msat : u64 ,
276
270
/// The minimum value for sending a single HTLC to the remote peer. This is the equivalent of
277
271
/// [`ChannelDetails::next_outbound_htlc_limit_msat`] but represents a lower-bound, rather than
@@ -306,7 +300,6 @@ impl From<LdkChannelDetails> for ChannelDetails {
306
300
// unwrap safety: This value will be `None` for objects serialized with LDK versions
307
301
// prior to 0.0.115.
308
302
feerate_sat_per_1000_weight : value. feerate_sat_per_1000_weight . unwrap ( ) ,
309
- balance_msat : value. balance_msat ,
310
303
outbound_capacity_msat : value. outbound_capacity_msat ,
311
304
inbound_capacity_msat : value. inbound_capacity_msat ,
312
305
confirmations_required : value. confirmations_required ,
0 commit comments