Skip to content

Commit fb209ac

Browse files
committed
Merge rust-bitcoin/rust-bitcoin#790: Re-export psbt module from root level
b138428 Re-export public map types from root level (Tobin Harding) Pull request description: We currently have the `map` module private but containing a bunch of types that are needed in the public API (specifically in a `PartiallySignedTransaction`). To give access to them re-export the `util::psbt` module at the root level. Found while testing `master` with `rust-miniscript`. ACKs for top commit: sanket1729: utACK b138428 Kixunil: ACK b138428 RCasatta: ACK b138428 dr-orlovsky: ACK b138428 Tree-SHA512: 36fc8595164c4975abdadb6c8149ef27686a2d681a1815379f91b1bd36f8a56ceaa7faed5979ba6869823684790721a16a0c41e662c6227a09cd0ba576a0a181
2 parents b136a4d + 03cec76 commit fb209ac

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ pub use util::sighash::SchnorrSigHashType;
139139
pub use util::ecdsa::{self, EcdsaSig, EcdsaSigError};
140140
pub use util::schnorr::{self, SchnorrSig, SchnorrSigError};
141141
pub use util::key::{PrivateKey, PublicKey, XOnlyPublicKey, KeyPair};
142+
pub use util::psbt;
142143
#[allow(deprecated)]
143144
pub use blockdata::transaction::SigHashType;
144145

src/util/psbt/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ mod macros;
3939
pub mod serialize;
4040

4141
mod map;
42-
pub use self::map::{Input, Output, TapTree};
42+
pub use self::map::{Input, Output, TapTree, PsbtSigHashType};
4343
use self::map::Map;
4444

4545
use util::bip32::{ExtendedPubKey, KeySource};

0 commit comments

Comments
 (0)