We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0843876 + 7f86982 commit b368c18Copy full SHA for b368c18
hathorlib/utils.py
@@ -179,7 +179,7 @@ def get_public_key_bytes_compressed(public_key: ec.EllipticCurvePublicKey) -> by
179
except Exception:
180
# XXX: the source says "Test-only pure Python RIPEMD160 implementation", however for our case this is acceptable
181
# for more details see: https://github.com/bitcoin/bitcoin/pull/23716/files which has a copy of the same code
182
- import pycoin.contrib.ripemd160 # type: ignore[import]
+ import pycoin.contrib.ripemd160 # type: ignore[import-untyped]
183
184
def get_hash160(public_key_bytes: bytes) -> bytes:
185
"""The input is hashed twice: first with SHA-256 and then with RIPEMD-160"""
0 commit comments