Skip to content

Commit e5528ea

Browse files
committed
Add docs to commitment_signed_dance_return_raa
1 parent e663517 commit e5528ea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lightning/src/ln/functional_test_utils.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2670,6 +2670,10 @@ pub fn do_main_commitment_signed_dance(
26702670
(extra_msg_option, bs_revoke_and_ack)
26712671
}
26722672

2673+
/// Runs the commitment_signed dance by delivering the commitment_signed and handling the
2674+
/// responding `revoke_and_ack` and `commitment_signed`.
2675+
///
2676+
/// Returns the recipient's `revoke_and_ack`.
26732677
pub fn commitment_signed_dance_return_raa(
26742678
node_a: &Node<'_, '_, '_>, node_b: &Node<'_, '_, '_>,
26752679
commitment_signed: &Vec<msgs::CommitmentSigned>, fail_backwards: bool,

0 commit comments

Comments
 (0)