Skip to content

Commit 3d76753

Browse files
authored
Merge pull request #3225 from TheBlueMatt/2024-08-3019-followups
Clean up `CommonOpenChannelFields` docs slightly
2 parents 3071bbb + 4735180 commit 3d76753

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lightning/src/ln/msgs.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -252,23 +252,23 @@ impl CommonOpenChannelFields {
252252
}
253253

254254
/// A subset of [`CommonOpenChannelFields`], containing various parameters which are set by the
255-
/// counterparty and which are not part of the channel funding transaction.
255+
/// channel initiator and which are not part of the channel funding transaction.
256256
#[derive(Clone, Debug, Hash, PartialEq, Eq)]
257257
pub struct ChannelParameters {
258258
/// The threshold below which outputs on transactions broadcast by the channel initiator will be
259-
/// omitted
259+
/// omitted.
260260
pub dust_limit_satoshis: u64,
261261
/// The maximum inbound HTLC value in flight towards channel initiator, in milli-satoshi
262262
pub max_htlc_value_in_flight_msat: u64,
263-
/// The minimum HTLC size incoming to channel initiator, in milli-satoshi
263+
/// The minimum HTLC size for HTLCs towards the channel initiator, in milli-satoshi
264264
pub htlc_minimum_msat: u64,
265265
/// The feerate for the commitment transaction set by the channel initiator until updated by
266266
/// [`UpdateFee`]
267267
pub commitment_feerate_sat_per_1000_weight: u32,
268-
/// The number of blocks which the counterparty will have to wait to claim on-chain funds if they
269-
/// broadcast a commitment transaction
268+
/// The number of blocks which the non-channel-initator will have to wait to claim on-chain
269+
/// funds if they broadcast a commitment transaction.
270270
pub to_self_delay: u16,
271-
/// The maximum number of inbound HTLCs towards channel initiator
271+
/// The maximum number of pending HTLCs towards the channel initiator.
272272
pub max_accepted_htlcs: u16,
273273
}
274274

0 commit comments

Comments
 (0)