Skip to content

Commit 5f848de

Browse files
committed
f clarifications
1 parent dde49c8 commit 5f848de

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
@@ -147,8 +147,7 @@ pub enum ChannelMonitorUpdateErr {
147147
/// [`ChannelManager::channel_monitor_updated`]: crate::ln::channelmanager::ChannelManager::channel_monitor_updated
148148
TemporaryFailure,
149149
/// Used to indicate no further channel monitor updates will be allowed (likely a disk failure
150-
/// or, e.g. we've moved on to a different watchtower and cannot update with all watchtowers
151-
/// that were previously informed of this channel).
150+
/// or a remote copy of this [`ChannelMonitor`] is no longer reachable and thus not updatable).
152151
///
153152
/// When this is returned, [`ChannelManager`] will force-close the channel but *not* broadcast
154153
/// our current commitment transaction. This avoids a dangerous case where a local disk failure
@@ -164,8 +163,9 @@ pub enum ChannelMonitorUpdateErr {
164163
/// we do as long as blocks are connected).
165164
///
166165
/// In order to broadcast the latest local commitment transaction, you'll need to call
167-
/// [`ChannelMonitor::get_latest_holder_commitment_txn`] once you've safely ensured no further
168-
/// off-chain updates to the channel can occur.
166+
/// [`ChannelMonitor::get_latest_holder_commitment_txn`] and broadcast the resulting
167+
/// transactions once you've safely ensured no further channel updates can be generated by your
168+
/// [`ChannelManager`].
169169
///
170170
/// Note that at least one final [`ChannelMonitorUpdate`] may still be provided, which must
171171
/// still be processed by a running [`ChannelMonitor`]. This final update will mark the

0 commit comments

Comments
 (0)