]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Increase visibility of script helper
authorAntoine Riard <dev@ariard.me>
Thu, 10 Nov 2022 16:04:58 +0000 (11:04 -0500)
committerAntoine Riard <dev@ariard.me>
Wed, 30 Nov 2022 00:50:30 +0000 (19:50 -0500)
lightning/src/ln/chan_utils.rs

index 1af0aae30ad756450137ca7c68fa0bf1d4bf2418..58ac2501f73d22e3a39d305102c3f86a996616af 100644 (file)
@@ -713,7 +713,7 @@ pub fn build_htlc_transaction(commitment_txid: &Txid, feerate_per_kw: u32, conte
 
 /// Gets the witnessScript for the to_remote output when anchors are enabled.
 #[inline]
-pub(crate) fn get_to_countersignatory_with_anchors_redeemscript(payment_point: &PublicKey) -> Script {
+pub fn get_to_countersignatory_with_anchors_redeemscript(payment_point: &PublicKey) -> Script {
        Builder::new()
                .push_slice(&payment_point.serialize()[..])
                .push_opcode(opcodes::all::OP_CHECKSIGVERIFY)