@@ -130,8 +130,8 @@ pub enum ChannelMonitorUpdateErr {
130
130
/// If you return this error you must ensure that it is written to disk safely before writing
131
131
/// the latest [`ChannelManager`] state, or you should return [`PermanentFailure`] instead.
132
132
///
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
135
135
/// attempting to claim it on this channel) and those updates must still be persisted.
136
136
///
137
137
/// No updates to the channel will be made which could invalidate other [`ChannelMonitor`]s
@@ -150,7 +150,7 @@ pub enum ChannelMonitorUpdateErr {
150
150
/// or, e.g. we've moved on to a different watchtower and cannot update with all watchtowers
151
151
/// that were previously informed of this channel).
152
152
///
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
154
154
/// our current commitment transaction. This avoids a dangerous case where a local disk failure
155
155
/// (e.g. the Linux-default remounting of the disk as read-only) causes [`PermanentFailure`]s
156
156
/// for all monitor updates. If we were to broadcast our latest commitment transaction and then
@@ -1848,7 +1848,7 @@ impl<Signer: Sign> ChannelMonitorImpl<Signer> {
1848
1848
if * should_broadcast {
1849
1849
self . broadcast_latest_holder_commitment_txn ( broadcaster, logger) ;
1850
1850
} 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" ) ;
1852
1852
log_error ! ( logger, " in channel monitor for channel {}!" , log_bytes!( self . funding_info. 0 . to_channel_id( ) ) ) ;
1853
1853
log_error ! ( logger, " Read the docs for ChannelMonitor::get_latest_holder_commitment_txn and take manual action!" ) ;
1854
1854
} else {
0 commit comments