Skip to content

Commit 097fc94

Browse files
committed
f describe param
1 parent 048f0e1 commit 097fc94

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lightning/src/ln/functional_test_utils.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1682,6 +1682,11 @@ macro_rules! commitment_signed_dance {
16821682
/// the initiator's `revoke_and_ack` response. i.e. [`do_main_commitment_signed_dance`] plus the
16831683
/// `revoke_and_ack` response to it.
16841684
///
1685+
/// An HTLC claim on one channel blocks the RAA channel monitor update for the outbound edge
1686+
/// channel until the inbound edge channel preimage monitor update completes. Thus, when checking
1687+
/// for channel monitor updates, we need to know if an `update_fulfill_htlc` was included in the
1688+
/// the commitment we're exchanging. `includes_claim` provides that information.
1689+
///
16851690
/// Returns any additional message `node_b` generated in addition to the `revoke_and_ack` response.
16861691
pub fn commitment_signed_dance_through_cp_raa(node_a: &Node<'_, '_, '_>, node_b: &Node<'_, '_, '_>, fail_backwards: bool, includes_claim: bool) -> Option<MessageSendEvent> {
16871692
let (extra_msg_option, bs_revoke_and_ack) = do_main_commitment_signed_dance(node_a, node_b, fail_backwards);

0 commit comments

Comments
 (0)