From 12411fc917abc7fd06b08dd4065286191f892342 Mon Sep 17 00:00:00 2001 From: matthiasdebernardini Date: Wed, 17 Apr 2024 11:57:39 -0500 Subject: [PATCH] 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. --- bitcoin/src/bip32.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bitcoin/src/bip32.rs b/bitcoin/src/bip32.rs index fa019bac4..1014ffdc7 100644 --- a/bitcoin/src/bip32.rs +++ b/bitcoin/src/bip32.rs @@ -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)]