Merge pull request #2265 from wpaulino/channel-force-closed-update-err
[rust-lightning] / lightning / src / ln / channelmanager.rs
index 3bf215d0a4aef8d40a923b332ea62c44f403a199..b18e7a8f2df002b17b54d1358f335bcf27647088 100644 (file)
@@ -7756,6 +7756,8 @@ where
 
                for (funding_txo, _) in args.channel_monitors.iter() {
                        if !funding_txo_set.contains(funding_txo) {
+                               log_info!(args.logger, "Queueing monitor update to ensure missing channel {} is force closed",
+                                       log_bytes!(funding_txo.to_channel_id()));
                                let monitor_update = ChannelMonitorUpdate {
                                        update_id: CLOSED_CHANNEL_UPDATE_ID,
                                        updates: vec![ChannelMonitorUpdateStep::ChannelForceClosed { should_broadcast: true }],