Skip to content

Commit 73345bc

Browse files
committed
f missing docs
1 parent 21f14de commit 73345bc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,10 +568,16 @@ impl_writeable_tlv_based_enum!(EventCompletionAction,
568568
);
569569

570570
#[derive(Clone, PartialEq, Eq, Debug)]
571+
/// If something is blocked on the completion of an RAA-generated [`ChannelMonitorUpdate`] we track
572+
/// the blocked action here. See enum variants for more info.
571573
pub(crate) enum RAAMonitorUpdateBlockingAction {
572-
/// The inbound channel's channel_id
574+
/// A forwarded payment was claimed. We block the downstream channel completing its monitor
575+
/// update which removes the HTLC preimage until the upstream channel has gotten the preimage
576+
/// durably to disk.
573577
ForwardedPaymentOtherChannelClaim {
578+
/// The upstream channel ID (i.e. the inbound edge).
574579
channel_id: [u8; 32],
580+
/// The HTLC ID on the inbound edge.
575581
htlc_id: u64,
576582
},
577583
}

0 commit comments

Comments
 (0)