diff --git a/bitcoin/src/taproot/mod.rs b/bitcoin/src/taproot/mod.rs index 0f22a40d8..9739b06ce 100644 --- a/bitcoin/src/taproot/mod.rs +++ b/bitcoin/src/taproot/mod.rs @@ -22,7 +22,7 @@ use secp256k1::{Scalar, Secp256k1}; use crate::consensus::Encodable; use crate::crypto::key::{ - SerializedXOnlyPublicKey, TapTweak, TweakedPublicKey, UntweakedPublicKey, XOnlyPublicKey, + SerializedXOnlyPublicKey, TapTweak, TweakedPublicKey, UntweakedPublicKey, }; use crate::prelude::{BTreeMap, BTreeSet, BinaryHeap, Vec}; use crate::{Script, ScriptBuf}; @@ -36,6 +36,9 @@ pub use merkle_branch::TaprootMerkleBranch; #[doc(inline)] pub use merkle_branch::TaprootMerkleBranchBuf; +#[doc(inline)] +pub use crate::XOnlyPublicKey; + type ControlBlockArrayVec = internals::array_vec::ArrayVec; // Taproot test vectors from BIP-341 state the hashes without any reversing