Skip to content

Commit 6210458

Browse files
committed
f! docs
1 parent fb4e4bc commit 6210458

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lightning/src/ln/chan_utils.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -698,9 +698,10 @@ pub fn build_htlc_transaction(commitment_txid: &Txid, feerate_per_kw: u32, conte
698698
}
699699
}
700700

701+
/// Returns the witness required to satisfy and spend a HTLC input.
701702
pub fn build_htlc_input_witness(
702-
local_sig: &Signature, remote_sig: &Signature, preimage: &Option<PaymentPreimage>, redeem_script: &Script,
703-
opt_anchors: bool,
703+
local_sig: &Signature, remote_sig: &Signature, preimage: &Option<PaymentPreimage>,
704+
redeem_script: &Script, opt_anchors: bool,
704705
) -> Witness {
705706
let remote_sighash_type = if opt_anchors {
706707
EcdsaSighashType::SinglePlusAnyoneCanPay

0 commit comments

Comments
 (0)