From 9eb87802c5792adb8b6a307a9228455868c45a0d Mon Sep 17 00:00:00 2001 From: Antoine Riard Date: Tue, 10 Dec 2019 16:28:33 -0500 Subject: [PATCH] Log block tick 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 0084cbb26..296709d10 100644 --- a/lightning/src/ln/channelmonitor.rs +++ b/lightning/src/ln/channelmonitor.rs @@ -2327,6 +2327,7 @@ impl ChannelMonitor { } fn block_connected(&mut self, txn_matched: &[&Transaction], height: u32, block_hash: &Sha256dHash, broadcaster: &BroadcasterInterface, fee_estimator: &FeeEstimator)-> (Vec<(Sha256dHash, Vec)>, Vec, Vec<(HTLCSource, Option, PaymentHash)>) { + log_trace!(self, "Block {} at height {} connected with {} txn matched", block_hash, height, txn_matched.len()); let mut watch_outputs = Vec::new(); let mut spendable_outputs = Vec::new(); let mut htlc_updated = Vec::new(); -- 2.39.5