Skip to content

Commit c3e82aa

Browse files
committed
f grammar things
1 parent 6396753 commit c3e82aa

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4173,7 +4173,7 @@ impl<Signer: Sign> Channel<Signer> {
41734173
/// Also returns the list of payment_hashes for channels which we can safely fail backwards
41744174
/// immediately (others we will have to allow to time out).
41754175
pub fn force_shutdown(&mut self, should_broadcast: bool) -> (Option<(OutPoint, ChannelMonitorUpdate)>, Vec<(HTLCSource, PaymentHash)>) {
4176-
// Note that we MUST only generate a monitor update which indicates force-closure - we're
4176+
// Note that we MUST only generate a monitor update that indicates force-closure - we're
41774177
// called during initialization prior to the chain_monitor in the encompassing ChannelManager
41784178
// being fully configured in some cases. Thus, its likely any monitor events we generate will
41794179
// be delayed in being processed! See the docs for `ChannelManagerReadArgs` for more.

lightning/src/ln/channelmanager.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -333,11 +333,11 @@ pub(super) struct ChannelHolder<Signer: Sign> {
333333
pub(super) pending_msg_events: Vec<MessageSendEvent>,
334334
}
335335

336-
/// Events which we process internally, but which cannot be procsesed immediately at the
337-
/// generation site for some reason. They are handled in timer_chan_freshness_every_min, so may be
338-
/// processed with quite some time lag.
336+
/// Events which we process internally but cannot be procsesed immediately at the generation site
337+
/// for some reason. They are handled in timer_chan_freshness_every_min, so may be processed with
338+
/// quite some time lag.
339339
enum BackgroundEvent {
340-
/// Handle a ChannelMonitorUpdate which closes a channel, broadcasting its current latest holder
340+
/// Handle a ChannelMonitorUpdate that closes a channel, broadcasting its current latest holder
341341
/// commitment transaction.
342342
ClosingMonitorUpdate((OutPoint, ChannelMonitorUpdate)),
343343
}

0 commit comments

Comments
 (0)