From 5aa95baa8dcb076e30a0a51da01992f10704c297 Mon Sep 17 00:00:00 2001 From: Antoine Riard Date: Fri, 17 Jan 2020 14:20:23 -0500 Subject: [PATCH] Log block disconnection in ChannelMonitor --- lightning/src/ln/channelmonitor.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lightning/src/ln/channelmonitor.rs b/lightning/src/ln/channelmonitor.rs index b9527f599..1753e16dc 100644 --- a/lightning/src/ln/channelmonitor.rs +++ b/lightning/src/ln/channelmonitor.rs @@ -2556,6 +2556,7 @@ impl ChannelMonitor { } fn block_disconnected(&mut self, height: u32, block_hash: &Sha256dHash, broadcaster: &BroadcasterInterface, fee_estimator: &FeeEstimator) { + log_trace!(self, "Block {} at height {} disconnected", block_hash, height); let mut bump_candidates = HashMap::new(); if let Some(events) = self.onchain_events_waiting_threshold_conf.remove(&(height + ANTI_REORG_DELAY - 1)) { //We may discard: -- 2.39.5