pub fn do_main_commitment_signed_dance(
node_a: &Node<'_, '_, '_>,
node_b: &Node<'_, '_, '_>,
fail_backwards: bool,
) -> (Option<MessageSendEvent>, RevokeAndACK)
Expand description
Does the main logic in the commitment_signed dance. After the first commitment_signed
has
been delivered, this method picks up and delivers the response revoke_and_ack
and
commitment_signed
, returning the recipient’s revoke_and_ack
and any extra message it may
have included.