Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hathorlib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def get_public_key_bytes_compressed(public_key: ec.EllipticCurvePublicKey) -> by
except Exception:
# XXX: the source says "Test-only pure Python RIPEMD160 implementation", however for our case this is acceptable
# for more details see: https://github.com/bitcoin/bitcoin/pull/23716/files which has a copy of the same code
import pycoin.contrib.ripemd160 # type: ignore[import]
import pycoin.contrib.ripemd160 # type: ignore[import-untyped]

def get_hash160(public_key_bytes: bytes) -> bytes:
"""The input is hashed twice: first with SHA-256 and then with RIPEMD-160"""
Expand Down
Loading