Skip to content

Commit e59c26a

Browse files
committed
f fix docs on build_commitment_transaction
1 parent 80b8d5c commit e59c26a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/channel.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1018,8 +1018,8 @@ impl<Signer: Sign> Channel<Signer> {
10181018
/// which peer generated this transaction and "to whom" this transaction flows.
10191019
/// Returns (the transaction info, the number of HTLC outputs which were present in the
10201020
/// transaction, the list of HTLCs which were not ignored when building the transaction).
1021-
/// Note that below-dust HTLCs are included in the third return value, but not the second, and
1022-
/// sources are provided only for outbound HTLCs in the third return value.
1021+
/// Note that below-dust HTLCs are included in the fourth return value, but not the third, and
1022+
/// sources are provided only for outbound HTLCs in the fourth return value.
10231023
#[inline]
10241024
fn build_commitment_transaction<L: Deref>(&self, commitment_number: u64, keys: &TxCreationKeys, local: bool, generated_by_local: bool, logger: &L) -> (CommitmentTransaction, u32, usize, Vec<(HTLCOutputInCommitment, Option<&HTLCSource>)>) where L::Target: Logger {
10251025
let mut included_dust_htlcs: Vec<(HTLCOutputInCommitment, Option<&HTLCSource>)> = Vec::new();

0 commit comments

Comments
 (0)