From: Matt Corallo Date: Tue, 11 Dec 2018 18:16:38 +0000 (-0500) Subject: Expand comment on ChannelMonitorUpdateErr::PermanentFailure a bit X-Git-Tag: v0.0.12~258^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=42da58c0c1093260926aea8342759e8a64e6bf7a;p=rust-lightning Expand comment on ChannelMonitorUpdateErr::PermanentFailure a bit --- diff --git a/src/ln/channelmonitor.rs b/src/ln/channelmonitor.rs index 79900e328..48e5c002c 100644 --- 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, }