Skip to content

Commit bd4e00a

Browse files
committed
Fix tests
1 parent 2466132 commit bd4e00a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/modules/frost/tests_impl.h

-8
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ void frost_api_tests(void) {
137137
secp256k1_pubkey invalid_vss_pk;
138138
secp256k1_frost_share invalid_share;
139139
secp256k1_frost_share shares[5];
140-
const secp256k1_frost_share *invalid_share_ptr[5];
141140
secp256k1_pubkey pubshares[5];
142141
int i;
143142
size_t ids[5];
@@ -172,7 +171,6 @@ void frost_api_tests(void) {
172171
secp256k1_testrand256(session_id[i]);
173172
}
174173
invalid_pubnonce_ptr[0] = &invalid_pubnonce;
175-
invalid_share_ptr[0] = &invalid_share;
176174
invalid_partial_sig_ptr[0] = &invalid_partial_sig;
177175
invalid_ids[2] = 0;
178176

@@ -589,15 +587,9 @@ void frost_tweak_test(void) {
589587
void frost_dkg_test_helper(secp256k1_frost_share *shares, secp256k1_xonly_pubkey *pk) {
590588
unsigned char seed[32];
591589
secp256k1_pubkey pubshares[5];
592-
size_t ids[5];
593-
int i;
594590

595591
secp256k1_testrand256(seed);
596592

597-
for (i = 0; i < 5; i++) {
598-
ids[i] = i + 1;
599-
}
600-
601593
CHECK(secp256k1_frost_shares_trusted_gen(CTX, shares, pubshares, pk, seed, 3, 5) == 1);
602594
}
603595

0 commit comments

Comments
 (0)