From 434e131660e82e06efd97981c1d975c04de2d010 Mon Sep 17 00:00:00 2001 From: LLFourn Date: Tue, 19 Nov 2024 15:32:30 +1100 Subject: [PATCH] Fix documentation of Xpub::identifier --- bitcoin/src/bip32.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitcoin/src/bip32.rs b/bitcoin/src/bip32.rs index 8f11e67b8..34d93833a 100644 --- a/bitcoin/src/bip32.rs +++ b/bitcoin/src/bip32.rs @@ -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())) }