From 2b7cb04265cdb2d62c1bcc645e19d8bafa132b4b Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Thu, 31 Oct 2024 17:06:43 +1100 Subject: [PATCH] primitives: Add missing re-exports Add re-exports of types from `taproot` and `merkle_tree`. --- primitives/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/primitives/src/lib.rs b/primitives/src/lib.rs index 592b9c70a..f04058966 100644 --- a/primitives/src/lib.rs +++ b/primitives/src/lib.rs @@ -57,15 +57,17 @@ pub use units::{ #[doc(inline)] pub use self::{ block::{BlockHash, WitnessCommitment}, + merkle_tree::{TxMerkleNode, WitnessMerkleNode}, pow::CompactTarget, sequence::Sequence, + taproot::{TapBranchTag, TapLeafHash, TapLeafTag, TapNodeHash, TapTweakHash, TapTweakTag}, transaction::{Txid, Wtxid}, }; #[doc(inline)] #[cfg(feature = "alloc")] pub use self::{ locktime::{absolute, relative}, - transaction::{TxIn, TxOut}, + transaction::{TxIn, TxOut, Transaction}, witness::Witness, };