primitives: Add missing re-exports

Add re-exports of types from `taproot` and `merkle_tree`.
This commit is contained in:
Tobin C. Harding 2024-10-31 17:06:43 +11:00
parent 3c16ed05c9
commit 2b7cb04265
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 3 additions and 1 deletions

View File

@ -57,15 +57,17 @@ pub use units::{
#[doc(inline)] #[doc(inline)]
pub use self::{ pub use self::{
block::{BlockHash, WitnessCommitment}, block::{BlockHash, WitnessCommitment},
merkle_tree::{TxMerkleNode, WitnessMerkleNode},
pow::CompactTarget, pow::CompactTarget,
sequence::Sequence, sequence::Sequence,
taproot::{TapBranchTag, TapLeafHash, TapLeafTag, TapNodeHash, TapTweakHash, TapTweakTag},
transaction::{Txid, Wtxid}, transaction::{Txid, Wtxid},
}; };
#[doc(inline)] #[doc(inline)]
#[cfg(feature = "alloc")] #[cfg(feature = "alloc")]
pub use self::{ pub use self::{
locktime::{absolute, relative}, locktime::{absolute, relative},
transaction::{TxIn, TxOut}, transaction::{TxIn, TxOut, Transaction},
witness::Witness, witness::Witness,
}; };