Skip to content

Commit 46a1a8e

Browse files
committed
Drop build_anchor_input_witness for now - need Witness mapping
1 parent 8fdfdf3 commit 46a1a8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/chan_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ pub(crate) fn get_anchor_output<'a>(commitment_tx: &'a Transaction, funding_pubk
737737
}
738738

739739
/// Returns the witness required to satisfy and spend an anchor input.
740-
pub fn build_anchor_input_witness(funding_key: &PublicKey, funding_sig: &Signature) -> Witness {
740+
pub(crate) fn build_anchor_input_witness(funding_key: &PublicKey, funding_sig: &Signature) -> Witness {
741741
let anchor_redeem_script = chan_utils::get_anchor_redeemscript(funding_key);
742742
let mut funding_sig = funding_sig.serialize_der().to_vec();
743743
funding_sig.push(EcdsaSighashType::All as u8);

0 commit comments

Comments
 (0)