Skip to content

Commit 28623a4

Browse files
author
Antoine Riard
committed
Add more logs in OnchainTxHandler
1 parent c8e493c commit 28623a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lightning/src/ln/onchaintx.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ impl OnchainTxHandler {
482482
where B::Target: BroadcasterInterface,
483483
F::Target: FeeEstimator
484484
{
485+
log_trace!(self, "Block at height {} connected with {} claim requests", height, claim_requests.len());
485486
let mut new_claims = Vec::new();
486487
let mut aggregated_claim = HashMap::new();
487488
let mut aggregated_soonest = ::std::u32::MAX;
@@ -634,6 +635,7 @@ impl OnchainTxHandler {
634635
}
635636

636637
// Build, bump and rebroadcast tx accordingly
638+
log_trace!(self, "Bumping {} candidates", bump_candidates.len());
637639
for first_claim_txid in bump_candidates.iter() {
638640
if let Some((new_timer, new_feerate)) = {
639641
if let Some(claim_material) = self.pending_claim_requests.get(first_claim_txid) {

0 commit comments

Comments
 (0)