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:
parent
4a73987888
commit
12411fc917
|
@ -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];
|
const VERSION_BYTES_TESTNETS_PRIVATE: [u8; 4] = [0x04, 0x35, 0x83, 0x94];
|
||||||
|
|
||||||
/// The old name for xpub, extended public key.
|
/// The old name for xpub, extended public key.
|
||||||
#[deprecated(since = "0.31.0", note = "use xpub instead")]
|
#[deprecated(since = "0.31.0", note = "use Xpub instead")]
|
||||||
pub type ExtendendPubKey = Xpub;
|
pub type ExtendedPubKey = Xpub;
|
||||||
|
|
||||||
/// The old name for xpriv, extended public key.
|
/// The old name for xpriv, extended public key.
|
||||||
#[deprecated(since = "0.31.0", note = "use xpriv instead")]
|
#[deprecated(since = "0.31.0", note = "use Xpriv instead")]
|
||||||
pub type ExtendendPrivKey = Xpriv;
|
pub type ExtendedPrivKey = Xpriv;
|
||||||
|
|
||||||
/// A chain code
|
/// A chain code
|
||||||
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||||
|
|
Loading…
Reference in New Issue