Skip to content

Commit dde49c8

Browse files
committed
f grammar/sp
1 parent e6966ce commit dde49c8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lightning/src/chain/channelmonitor.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ pub enum ChannelMonitorUpdateErr {
130130
/// If you return this error you must ensure that it is written to disk safely before writing
131131
/// the latest [`ChannelManager`] state, or you should return [`PermanentFailure`] instead.
132132
///
133-
/// Even when a channel has been "frozen" updates to the [`ChannelMonitor`] can continue to
134-
/// occur (e.g. if an inbound HTLC which we forwarded was claimed upstream resulting in us
133+
/// Even when a channel has been "frozen", updates to the [`ChannelMonitor`] can continue to
134+
/// occur (e.g. if an inbound HTLC which we forwarded was claimed upstream, resulting in us
135135
/// attempting to claim it on this channel) and those updates must still be persisted.
136136
///
137137
/// No updates to the channel will be made which could invalidate other [`ChannelMonitor`]s
@@ -150,7 +150,7 @@ pub enum ChannelMonitorUpdateErr {
150150
/// or, e.g. we've moved on to a different watchtower and cannot update with all watchtowers
151151
/// that were previously informed of this channel).
152152
///
153-
/// When this is returned [`ChannelManager`] will force-close the channel but *not* broadcast
153+
/// When this is returned, [`ChannelManager`] will force-close the channel but *not* broadcast
154154
/// our current commitment transaction. This avoids a dangerous case where a local disk failure
155155
/// (e.g. the Linux-default remounting of the disk as read-only) causes [`PermanentFailure`]s
156156
/// for all monitor updates. If we were to broadcast our latest commitment transaction and then
@@ -1848,7 +1848,7 @@ impl<Signer: Sign> ChannelMonitorImpl<Signer> {
18481848
if *should_broadcast {
18491849
self.broadcast_latest_holder_commitment_txn(broadcaster, logger);
18501850
} else if !self.holder_tx_signed {
1851-
log_error!(logger, "WARNING: You have a potentially-toxic holder commitment transaction avaible to broadcast");
1851+
log_error!(logger, "WARNING: You have a potentially-toxic holder commitment transaction available to broadcast");
18521852
log_error!(logger, " in channel monitor for channel {}!", log_bytes!(self.funding_info.0.to_channel_id()));
18531853
log_error!(logger, " Read the docs for ChannelMonitor::get_latest_holder_commitment_txn and take manual action!");
18541854
} else {

0 commit comments

Comments
 (0)