Skip to content

Commit 3fd2dee

Browse files
committed
fix test
1 parent 3497998 commit 3fd2dee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/schnorrsig/tests_impl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ void test_s2c_opening(void) {
10101010
* points' x-coordinates are uniformly random */
10111011
if (secp256k1_schnorrsig_s2c_opening_parse(CTX, &opening, input) == 1) {
10121012
CHECK(secp256k1_schnorrsig_s2c_opening_serialize(CTX, output, &opening) == 1);
1013-
/*CHECK(memcmp(output, input, sizeof(output)) == 0);*/
1013+
CHECK(secp256k1_memcmp_var(output, input, sizeof(output)) == 0);
10141014
}
10151015
testrand256(&input[1]);
10161016
/* Set pubkey oddness tag to first bit of input[1] */

0 commit comments

Comments
 (0)