Skip to content

Commit

Permalink
Add documentation to NumberedCommitmentSigned type alias
Browse files Browse the repository at this point in the history
  • Loading branch information
luckysori committed Dec 20, 2023
1 parent f109bee commit 35c7274
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lightning/src/ln/channelmanager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ pub use crate::ln::outbound_payment::{PaymentSendFailure, ProbeSendFailure, Retr
use crate::ln::script::ShutdownScript;
use super::msgs::{CommitmentSigned, RevokeAndACK};

/// A tuple containing a [`CommitmentSigned`] message and the commitment transaction number it
/// corresponds to.
pub type NumberedCommitmentSigned = (CommitmentSigned, u64);

// We hold various information about HTLC relay in the HTLC objects in Channel itself:
Expand Down

0 comments on commit 35c7274

Please sign in to comment.