From 3eea63e42ba6765c896778b42f2a909394c0e6ec Mon Sep 17 00:00:00 2001 From: sanket1729 Date: Sun, 26 Dec 2021 04:47:00 +0530 Subject: [PATCH] Re-export SigHashType in lib.rs Using the latest version of rust-bitcoin master on rust-miniscript errors on bitcoin::SigHashType not found. In the original PR, I only renamed the export to ECDSASigHashType, but original re-export should also be there in lib.rs to avoid to breaking changes downstream. --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 8502c6b3..c347d0bc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -141,6 +141,8 @@ pub use util::schnorr::{self, SchnorrSig, SchnorrSigError}; pub use util::ecdsa::PrivateKey; #[deprecated(since = "0.26.1", note = "Please use `ecdsa::PublicKey` instead")] pub use util::ecdsa::PublicKey; +#[allow(deprecated)] +pub use blockdata::transaction::SigHashType; #[cfg(feature = "std")] use std::io;