diff --git a/src/lib.rs b/src/lib.rs index 5005744ca..26725f865 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -139,6 +139,7 @@ pub use util::sighash::SchnorrSigHashType; pub use util::ecdsa::{self, EcdsaSig, EcdsaSigError}; pub use util::schnorr::{self, SchnorrSig, SchnorrSigError}; pub use util::key::{PrivateKey, PublicKey, XOnlyPublicKey, KeyPair}; +pub use util::psbt; #[allow(deprecated)] pub use blockdata::transaction::SigHashType; diff --git a/src/util/psbt/mod.rs b/src/util/psbt/mod.rs index ed4fc68a5..058a7a630 100644 --- a/src/util/psbt/mod.rs +++ b/src/util/psbt/mod.rs @@ -39,7 +39,7 @@ mod macros; pub mod serialize; mod map; -pub use self::map::{Input, Output, TapTree}; +pub use self::map::{Input, Output, TapTree, PsbtSigHashType}; use self::map::Map; use util::bip32::{ExtendedPubKey, KeySource};