Skip to content

Commit 6d98aed

Browse files
committed
Add debug log when we stop tracking confirmed on-chain packages
1 parent 6d446a6 commit 6d98aed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/chain/onchaintx.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,11 +536,14 @@ impl<ChannelSigner: Sign> OnchainTxHandler<ChannelSigner> {
536536
// been aggregated in a single tx and claimed so atomically
537537
if let Some(request) = self.pending_claim_requests.remove(&claim_request) {
538538
for outpoint in request.outpoints() {
539+
log_debug!(logger, "Removing claim tracking for {} due to maturation of claim tx {}.", outpoint, claim_request);
539540
self.claimable_outpoints.remove(&outpoint);
540541
}
541542
}
542543
},
543544
OnchainEvent::ContentiousOutpoint { package } => {
545+
log_debug!(logger, "Removing claim tracking due to maturation of claim tx for outpoints:");
546+
log_debug!(logger, " {:?}", package.outpoints());
544547
self.claimable_outpoints.remove(&package.outpoints()[0]);
545548
}
546549
}

0 commit comments

Comments
 (0)