From 6859ced62ba3c8159586a73e741e3b71f402f433 Mon Sep 17 00:00:00 2001 From: benthecarman Date: Wed, 10 Apr 2024 23:20:54 -0500 Subject: [PATCH] log when we prune a monitor --- mutiny-core/src/ldkstorage.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mutiny-core/src/ldkstorage.rs b/mutiny-core/src/ldkstorage.rs index 7f66c551d..f4db75082 100644 --- a/mutiny-core/src/ldkstorage.rs +++ b/mutiny-core/src/ldkstorage.rs @@ -176,6 +176,12 @@ impl MutinyNodePersister { // if there are no claimable balances, we don't need to watch the channel if !channel_monitor.get_claimable_balances().is_empty() { accum.push((blockhash, channel_monitor)); + } else { + log_debug!( + self.logger, + "Channel monitor {} has no claimable balances, not watching", + channel_monitor.get_funding_txo().0 + ); } Ok(accum) }