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.
This commit is contained in:
sanket1729 2021-12-26 04:47:00 +05:30
parent f9b3fc9ce8
commit 3eea63e42b
1 changed files with 2 additions and 0 deletions

View File

@ -141,6 +141,8 @@ pub use util::schnorr::{self, SchnorrSig, SchnorrSigError};
pub use util::ecdsa::PrivateKey; pub use util::ecdsa::PrivateKey;
#[deprecated(since = "0.26.1", note = "Please use `ecdsa::PublicKey` instead")] #[deprecated(since = "0.26.1", note = "Please use `ecdsa::PublicKey` instead")]
pub use util::ecdsa::PublicKey; pub use util::ecdsa::PublicKey;
#[allow(deprecated)]
pub use blockdata::transaction::SigHashType;
#[cfg(feature = "std")] #[cfg(feature = "std")]
use std::io; use std::io;