Skip to content

Commit 3561196

Browse files
committed
Remove excessive logging in the non-rebroadcast case
1 parent 9c08c86 commit 3561196

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lightning/src/ln/channel.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -5488,12 +5488,8 @@ impl<SP: Deref> Channel<SP> where
54885488
matches!(self.context.channel_state, ChannelState::ChannelReady(_)))
54895489
{
54905490
// Broadcast only if not yet confirmed
5491-
if self.context.get_funding_tx_confirmation_height().is_none() || self.context.get_funding_tx_confirmed_in().is_none() {
5491+
if self.context.get_funding_tx_confirmation_height().is_none() {
54925492
funding_broadcastable = Some(funding_transaction.clone())
5493-
} else {
5494-
log_debug!(logger,
5495-
"Not rebroadcasting funding tx, already confirmed, height: {} txid: {}",
5496-
self.context.get_funding_tx_confirmation_height().unwrap_or_default(), funding_transaction.compute_txid());
54975493
}
54985494
}
54995495
}

0 commit comments

Comments
 (0)