Merge rust-bitcoin/rust-bitcoin#3641: Fix documentation of Xpub::identifier
434e131660
Fix documentation of Xpub::identifier (LLFourn) Pull request description: :^) ACKs for top commit: tcharding: ACK434e131660
apoelstra: ACK 434e131660e82e06efd97981c1d975c04de2d010; successfully ran local tests; lol Tree-SHA512: 5c86679a05b6cc7c77f6d6727520002ada1037b4df97c565ac383824afb4e68194a297bdaf8b0074138be54e6142b8f0819da056912c7feed0538bb1a7054254
This commit is contained in:
commit
d662dba8b5
|
@ -880,7 +880,7 @@ impl Xpub {
|
|||
ret
|
||||
}
|
||||
|
||||
/// Returns the HASH160 of the chaincode
|
||||
/// Returns the HASH160 of the public key component of the xpub
|
||||
pub fn identifier(&self) -> XKeyIdentifier {
|
||||
XKeyIdentifier(hash160::Hash::hash(&self.public_key.serialize()))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue