Skip to content
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.

log when we prune a monitor #1132

Merged
merged 1 commit into from
Apr 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions mutiny-core/src/ldkstorage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,12 @@ impl<S: MutinyStorage> MutinyNodePersister<S> {
// 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)
}
Expand Down
Loading