From 69a2a952e268eccd11ae4b60ab253d2ddc210171 Mon Sep 17 00:00:00 2001 From: MozirDmitriy Date: Tue, 4 Nov 2025 15:13:17 +0300 Subject: [PATCH] BIP340: Remove unused hash_sha256 helper --- bip-0340/reference.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/bip-0340/reference.py b/bip-0340/reference.py index bf8f16203a..5653ac0575 100644 --- a/bip-0340/reference.py +++ b/bip-0340/reference.py @@ -79,9 +79,6 @@ def lift_x(x: int) -> Optional[Point]: def int_from_bytes(b: bytes) -> int: return int.from_bytes(b, byteorder="big") -def hash_sha256(b: bytes) -> bytes: - return hashlib.sha256(b).digest() - def has_even_y(P: Point) -> bool: assert not is_infinite(P) return y(P) % 2 == 0