1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-08-11 13:20:50 +00:00

Merge pull request #1920 from strmfos/master

BIP374: remove debug print from test runner
This commit is contained in:
Jon Atack 2025-08-10 14:40:59 -07:00 committed by GitHub
commit 4f1359d0f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,6 @@ with open(FILENAME_GENERATE_PROOF_TEST, newline='') as csvfile:
next(reader) next(reader)
for row in reader: for row in reader:
(index, point_G_hex, seckey_a_hex, point_B_hex, aux_rand_hex, msg_hex, result_str, comment) = row (index, point_G_hex, seckey_a_hex, point_B_hex, aux_rand_hex, msg_hex, result_str, comment) = row
print(seckey_a_hex)
G = GE() if point_G_hex == 'INFINITY' else GE.from_bytes(bytes.fromhex(point_G_hex)) G = GE() if point_G_hex == 'INFINITY' else GE.from_bytes(bytes.fromhex(point_G_hex))
a = int.from_bytes(bytes.fromhex(seckey_a_hex), 'big') a = int.from_bytes(bytes.fromhex(seckey_a_hex), 'big')
B = GE() if point_B_hex == 'INFINITY' else GE.from_bytes(bytes.fromhex(point_B_hex)) B = GE() if point_B_hex == 'INFINITY' else GE.from_bytes(bytes.fromhex(point_B_hex))