1
0
mirror of https://github.com/bitcoin/bips.git synced 2026-03-23 16:05:41 +00:00

Merge pull request #1808 from futreall/master

BIP328: minor docstring fixups
This commit is contained in:
Jon Atack
2025-04-01 13:13:40 -06:00
committed by GitHub

View File

@@ -53,7 +53,7 @@ def decode(s: str) -> bytes:
""" """
Decode a base58-encoding string, returning bytes Decode a base58-encoding string, returning bytes
:param s: Base48 string to decode :param s: Base58 string to decode
:return: Bytes encoded by ``s`` :return: Bytes encoded by ``s``
""" """
if not s: if not s:
@@ -118,7 +118,7 @@ def get_xpub_fingerprint_hex(xpub: str) -> str:
""" """
Get the parent fingerprint as a hex string from an extended public key Get the parent fingerprint as a hex string from an extended public key
:param s: The extended pubkey :param xpub: The extended pubkey
:return: The parent fingerprint as a hex string :return: The parent fingerprint as a hex string
""" """
data = decode(xpub) data = decode(xpub)