Fix typo in deprecated BIP-32 type

In PR #2258, deprecated BIP-32 types were re-added but contained a typo in the identifier: "Extendend" instead of "Extended". This commit fixes that typo.

The incorrect patch was backported to the 0.31.x branch in December but only noticed recently.
This commit is contained in:
matthiasdebernardini 2024-04-17 11:57:39 -05:00
parent 4a73987888
commit 12411fc917
No known key found for this signature in database
GPG Key ID: 72500CD9439F1BF8
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)]