projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa0a37c
)
Expand comment on ChannelMonitorUpdateErr::PermanentFailure a bit
2018-12-monitor-fail-2
author
Matt Corallo
<git@bluematt.me>
Tue, 11 Dec 2018 18:16:38 +0000
(13:16 -0500)
committer
Matt Corallo
<git@bluematt.me>
Tue, 11 Dec 2018 18:17:45 +0000
(13:17 -0500)
src/ln/channelmonitor.rs
patch
|
blob
|
history
diff --git
a/src/ln/channelmonitor.rs
b/src/ln/channelmonitor.rs
index 79900e328933740fc33e3c6dbc037677455bc642..48e5c002c34543b56648014033a209fa7a61d31c 100644
(file)
--- a/
src/ln/channelmonitor.rs
+++ b/
src/ln/channelmonitor.rs
@@
-71,6
+71,8
@@
pub enum ChannelMonitorUpdateErr {
/// Used to indicate no further channel monitor updates will be allowed (eg we've moved on to a
/// different watchtower and cannot update with all watchtowers that were previously informed
/// of this channel). This will force-close the channel in question.
+ ///
+ /// Should also be used to indicate a failure to update the local copy of the channel monitor.
PermanentFailure,
}