@@ -232,7 +232,7 @@ pub struct CommitmentPendingHTLC {
232232/// Represents the different types of transactions, originating from LDK, to be bumped.
233233#[ derive( Clone , Debug ) ]
234234pub enum BumpTransaction {
235- /// Indicates that a channel featuring anchors outputs is to be closed by broadcasting the local
235+ /// Indicates that a channel featuring anchor outputs is to be closed by broadcasting the local
236236 /// commitment transaction. Since commitment transactions have a static feerate pre-agreed upon,
237237 /// they may need additional fees to be attached through a child transaction using the popular
238238 /// [Child-Pays-For-Parent](https://bitcoinops.org/en/topics/cpfp) fee bumping technique. This
@@ -249,7 +249,7 @@ pub enum BumpTransaction {
249249 /// re-derived through [`KeysManager::derive_channel_keys`] with the help of
250250 /// [`AnchorDescriptor::channel_keys_id`] and [`AnchorDescriptor::channel_value_satoshis`].
251251 ///
252- /// It is possible to receive more than an instance of this event if a valid child anchor
252+ /// It is possible to receive more than one instance of this event if a valid child anchor
253253 /// transaction is never broadcast or is but not with a sufficient fee to be mined. Care should
254254 /// be taken by the consumer of the event to ensure any future iterations of the child anchor
255255 /// transaction adhere to the [Replace-By-Fee
@@ -848,8 +848,7 @@ impl Writeable for Event {
848848 27u8 . write ( writer) ?;
849849 match event {
850850 // We never write the ChannelClose events as they'll be replayed upon restarting
851- // anyway if the commitment transaction remains
852- // unconfirmed.
851+ // anyway if the commitment transaction remains unconfirmed.
853852 BumpTransaction :: ChannelClose { .. } => { }
854853 }
855854 }
0 commit comments