Skip to content

Commit 5aa95ba

Browse files
author
Antoine Riard
committed
Log block disconnection in ChannelMonitor
1 parent 09d2a71 commit 5aa95ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightning/src/ln/channelmonitor.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2556,6 +2556,7 @@ impl ChannelMonitor {
25562556
}
25572557

25582558
fn block_disconnected(&mut self, height: u32, block_hash: &Sha256dHash, broadcaster: &BroadcasterInterface, fee_estimator: &FeeEstimator) {
2559+
log_trace!(self, "Block {} at height {} disconnected", block_hash, height);
25592560
let mut bump_candidates = HashMap::new();
25602561
if let Some(events) = self.onchain_events_waiting_threshold_conf.remove(&(height + ANTI_REORG_DELAY - 1)) {
25612562
//We may discard:

0 commit comments

Comments
 (0)