1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-05-12 12:03:29 +00:00

fix error Base48 to Base58

chore: fix error Base48 to Base58

fix error Base48 to Base58
This commit is contained in:
futreall 2025-04-01 20:43:54 +03:00
parent fade15caa2
commit 5772c6b40d

View File

@ -53,7 +53,7 @@ def decode(s: str) -> 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``
"""
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
:param s: The extended pubkey
:param xpub: The extended pubkey
:return: The parent fingerprint as a hex string
"""
data = decode(xpub)