mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 07:17:40 +01:00
Add debug log when we stop tracking confirmed on-chain packages
This commit is contained in:
parent
6d446a6249
commit
6d98aedaf5
1 changed files with 3 additions and 0 deletions
|
@ -536,11 +536,14 @@ impl<ChannelSigner: Sign> OnchainTxHandler<ChannelSigner> {
|
|||
// been aggregated in a single tx and claimed so atomically
|
||||
if let Some(request) = self.pending_claim_requests.remove(&claim_request) {
|
||||
for outpoint in request.outpoints() {
|
||||
log_debug!(logger, "Removing claim tracking for {} due to maturation of claim tx {}.", outpoint, claim_request);
|
||||
self.claimable_outpoints.remove(&outpoint);
|
||||
}
|
||||
}
|
||||
},
|
||||
OnchainEvent::ContentiousOutpoint { package } => {
|
||||
log_debug!(logger, "Removing claim tracking due to maturation of claim tx for outpoints:");
|
||||
log_debug!(logger, " {:?}", package.outpoints());
|
||||
self.claimable_outpoints.remove(&package.outpoints()[0]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue