Merge rust-bitcoin/rust-bitcoin#2170: Remove deprecated since NEXT-RELEASE
01e2233f6c
Remove deprecated since NEXT-RELEASE (Tobin C. Harding) Pull request description: Not sure what happened here but our release job didn't catch this? We should have updated this to "since = 0.31.0" before release. Since we only deprecate for one release lets go ahead and remove this. ACKs for top commit: apoelstra: ACK01e2233f6c
clarkmoody: ACK01e2233f6c
Kixunil: ACK01e2233f6c
Tree-SHA512: ad362058371e5e8ac7b577c3e32a0c65ce29e5723ff5efbccbcc57684fd61364f3caf7a4c8f0ee8c24bcb7a765bad2539a862860a902e5cec495ed9972379c2d
This commit is contained in:
commit
7b6de6a22b
|
@ -6,8 +6,6 @@
|
||||||
//! at <https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki>.
|
//! at <https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki>.
|
||||||
//!
|
//!
|
||||||
|
|
||||||
#![allow(deprecated)] // Remove once we remove XpubIdentifier.
|
|
||||||
|
|
||||||
use core::convert::TryInto;
|
use core::convert::TryInto;
|
||||||
use core::default::Default;
|
use core::default::Default;
|
||||||
use core::ops::Index;
|
use core::ops::Index;
|
||||||
|
@ -55,10 +53,6 @@ impl_array_newtype!(Fingerprint, u8, 4);
|
||||||
impl_bytes_newtype!(Fingerprint, 4);
|
impl_bytes_newtype!(Fingerprint, 4);
|
||||||
|
|
||||||
hash_newtype! {
|
hash_newtype! {
|
||||||
/// XpubIdentifier as defined in BIP-32.
|
|
||||||
#[deprecated(since = "0.0.0-NEXT-RELEASE", note = "use XKeyIdentifier instead")]
|
|
||||||
pub struct XpubIdentifier(hash160::Hash);
|
|
||||||
|
|
||||||
/// Extended key identifier as defined in BIP-32.
|
/// Extended key identifier as defined in BIP-32.
|
||||||
pub struct XKeyIdentifier(hash160::Hash);
|
pub struct XKeyIdentifier(hash160::Hash);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue