Add p2sh-p2wsh support, add Navcoin tests.
This commit is contained in:
23 files changed
+5703
-192
No files matched your search
@@ -87,7 +87,7 @@ def toWIF(prefix_byte: int, b: bytes, compressed: bool = True) -> str:
|
||||
return b58encode(b)
|
||||
|
||||
|
||||
def getKeyID(key_data: bytes) -> str:
|
||||
def getKeyID(key_data: bytes) -> bytes:
|
||||
sha256_hash = hashlib.sha256(key_data).digest()
|
||||
return ripemd160(sha256_hash)
|
||||
|
||||
|
||||
Reference in new issue
Block a user