From f7ab253ce4d6c277329c5239e5f9cc52de7e1a22 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 1 Dec 2023 07:19:54 +1100 Subject: [PATCH] Remove stale comment This comment appears to come from before we had types for tweaked and untweaked keys in taproot. We can remove it. --- bitcoin/src/address/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/bitcoin/src/address/mod.rs b/bitcoin/src/address/mod.rs index 07115408..653b700e 100644 --- a/bitcoin/src/address/mod.rs +++ b/bitcoin/src/address/mod.rs @@ -479,8 +479,6 @@ impl Address { } /// Creates a pay to taproot address from a pre-tweaked output key. - /// - /// This method is not recommended for use, [`Address::p2tr()`] should be used where possible. pub fn p2tr_tweaked(output_key: TweakedPublicKey, network: Network) -> Address { let prog = WitnessProgram::new(WitnessVersion::V1, output_key.to_inner().serialize()) .expect("taproot output key has len 32 <= 40");