From 46a1a8ebb7973b73b8dbe0baeac63d139f1c6d65 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 26 Oct 2022 21:55:40 +0000 Subject: [PATCH] Drop build_anchor_input_witness for now - need Witness mapping --- lightning/src/ln/chan_utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning/src/ln/chan_utils.rs b/lightning/src/ln/chan_utils.rs index a8c9dcc82..3f52bd487 100644 --- a/lightning/src/ln/chan_utils.rs +++ b/lightning/src/ln/chan_utils.rs @@ -737,7 +737,7 @@ pub(crate) fn get_anchor_output<'a>(commitment_tx: &'a Transaction, funding_pubk } /// Returns the witness required to satisfy and spend an anchor input. -pub fn build_anchor_input_witness(funding_key: &PublicKey, funding_sig: &Signature) -> Witness { +pub(crate) fn build_anchor_input_witness(funding_key: &PublicKey, funding_sig: &Signature) -> Witness { let anchor_redeem_script = chan_utils::get_anchor_redeemscript(funding_key); let mut funding_sig = funding_sig.serialize_der().to_vec(); funding_sig.push(EcdsaSighashType::All as u8); -- 2.39.5