Skip to content

Release v0.6.1 #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 19, 2024
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
Loading