From 42da58c0c1093260926aea8342759e8a64e6bf7a Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 11 Dec 2018 13:16:38 -0500 Subject: [PATCH] Expand comment on ChannelMonitorUpdateErr::PermanentFailure a bit --- src/ln/channelmonitor.rs | 2 ++ 1 file changed, 2 insertions(+) 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, } -- 2.39.5