Merge rust-bitcoin/rust-bitcoin#2693: Fix typo in deprecated type

12411fc917 Fix typo in deprecated BIP-32 type (matthiasdebernardini)

Pull request description:

  In #2258 we attempted to add back in deprecated BIP-32 types - but we spelled the identifier incorrectly. The patch was then backported to the `0.31.x` branch in December but was only just noticed now.

  Fix typo in deprecated type from `Extendend` -> `Extended`.

ACKs for top commit:
  tcharding:
    ACK 12411fc917
  storopoli:
    ACK 12411fc917
  apoelstra:
    ACK 12411fc917

Tree-SHA512: f70e8fe741740f62b29932d8ee84cbe7803cb71dfb0491d251c3a982ede07ea7a32b5ecdf569d6012ee05509e8182a439b022c606a2f01742f4908089edc85a9
This commit is contained in:
Andrew Poelstra 2024-05-01 10:39:17 +00:00
commit ad212da930
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 4 additions and 4 deletions

View File

@ -30,12 +30,12 @@ const VERSION_BYTES_TESTNETS_PUBLIC: [u8; 4] = [0x04, 0x35, 0x87, 0xCF];
const VERSION_BYTES_TESTNETS_PRIVATE: [u8; 4] = [0x04, 0x35, 0x83, 0x94];
/// The old name for xpub, extended public key.
#[deprecated(since = "0.31.0", note = "use xpub instead")]
pub type ExtendendPubKey = Xpub;
#[deprecated(since = "0.31.0", note = "use Xpub instead")]
pub type ExtendedPubKey = Xpub;
/// The old name for xpriv, extended public key.
#[deprecated(since = "0.31.0", note = "use xpriv instead")]
pub type ExtendendPrivKey = Xpriv;
#[deprecated(since = "0.31.0", note = "use Xpriv instead")]
pub type ExtendedPrivKey = Xpriv;
/// A chain code
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]