Remove stale comment
This comment appears to come from before we had types for tweaked and untweaked keys in taproot. We can remove it.
This commit is contained in:
parent
83cefefa45
commit
f7ab253ce4
|
@ -479,8 +479,6 @@ impl Address {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Creates a pay to taproot address from a pre-tweaked output key.
|
/// 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 {
|
pub fn p2tr_tweaked(output_key: TweakedPublicKey, network: Network) -> Address {
|
||||||
let prog = WitnessProgram::new(WitnessVersion::V1, output_key.to_inner().serialize())
|
let prog = WitnessProgram::new(WitnessVersion::V1, output_key.to_inner().serialize())
|
||||||
.expect("taproot output key has len 32 <= 40");
|
.expect("taproot output key has len 32 <= 40");
|
||||||
|
|
Loading…
Reference in New Issue