bip32

Pure Haskell BIP32 hierarchical deterministic wallets.
git clone git://git.ppad.tech/bip32.git
Log | Files | Refs | LICENSE

commit 2815e10d6a55af9e558ee92f0483e28821fd2e91
parent 9e9aa40521f53a9c06a9c36642e6f2df56dbe0f1
Author: Jared Tobin <jared@jtobin.io>
Date:   Thu, 20 Feb 2025 17:37:57 +0400

lib: fingerprint is 32 bits, not 32 bytes

Diffstat:
Mlib/Crypto/HDKey/BIP32.hs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Crypto/HDKey/BIP32.hs b/lib/Crypto/HDKey/BIP32.hs @@ -73,7 +73,7 @@ class Extended k where identifier :: k -> BS.ByteString fingerprint :: k -> BS.ByteString - fingerprint = BS.take 32 . identifier + fingerprint = BS.take 4 . identifier instance Extended XPub where identifier (XPub (X pub _)) =