File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1907,9 +1907,11 @@ impl<Signer: Sign> ChannelMonitorImpl<Signer> {
19071907 continue ;
19081908 }
19091909 } else if htlc. 0 . cltv_expiry > self . best_block . height ( ) + 1 {
1910- // Don't broadcast HTLC-Timeout transactions immediately as they dont' meet the
1911- // current locktime requirements on-chain. We will broadcast them when the
1912- // commitment transaction confirms automatically.
1910+ // Don't broadcast HTLC-Timeout transactions immediately as they don't meet the
1911+ // current locktime requirements on-chain. We will broadcast them in
1912+ // `block_confirmed` when `would_broadcast_at_height` returns true.
1913+ // Note that we add + 1 as transactions are broadcastable when they can be
1914+ // confirmed in the next block, not the current height.
19131915 continue ;
19141916 } else { None } ;
19151917 if let Some ( htlc_tx) = self . onchain_tx_handler . get_fully_signed_htlc_tx (
You can’t perform that action at this time.
0 commit comments