Skip to content

Commit 9eb8780

Browse files
author
Antoine Riard
committed
Log block tick in ChannelMonitor
1 parent 2c8bc3c commit 9eb8780

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
@@ -2327,6 +2327,7 @@ impl ChannelMonitor {
23272327
}
23282328

23292329
fn block_connected(&mut self, txn_matched: &[&Transaction], height: u32, block_hash: &Sha256dHash, broadcaster: &BroadcasterInterface, fee_estimator: &FeeEstimator)-> (Vec<(Sha256dHash, Vec<TxOut>)>, Vec<SpendableOutputDescriptor>, Vec<(HTLCSource, Option<PaymentPreimage>, PaymentHash)>) {
2330+
log_trace!(self, "Block {} at height {} connected with {} txn matched", block_hash, height, txn_matched.len());
23302331
let mut watch_outputs = Vec::new();
23312332
let mut spendable_outputs = Vec::new();
23322333
let mut htlc_updated = Vec::new();

0 commit comments

Comments
 (0)