Skip to content

Commit 42da58c

Browse files
committed
Expand comment on ChannelMonitorUpdateErr::PermanentFailure a bit
1 parent aa0a37c commit 42da58c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ln/channelmonitor.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ pub enum ChannelMonitorUpdateErr {
7171
/// Used to indicate no further channel monitor updates will be allowed (eg we've moved on to a
7272
/// different watchtower and cannot update with all watchtowers that were previously informed
7373
/// of this channel). This will force-close the channel in question.
74+
///
75+
/// Should also be used to indicate a failure to update the local copy of the channel monitor.
7476
PermanentFailure,
7577
}
7678

0 commit comments

Comments
 (0)