Fix documentation of Xpub::identifier
This commit is contained in:
parent
c47a41a076
commit
434e131660
|
@ -880,7 +880,7 @@ impl Xpub {
|
||||||
ret
|
ret
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns the HASH160 of the chaincode
|
/// Returns the HASH160 of the public key component of the xpub
|
||||||
pub fn identifier(&self) -> XKeyIdentifier {
|
pub fn identifier(&self) -> XKeyIdentifier {
|
||||||
XKeyIdentifier(hash160::Hash::hash(&self.public_key.serialize()))
|
XKeyIdentifier(hash160::Hash::hash(&self.public_key.serialize()))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue