Skip to content

Commit

Permalink
tests: correct args[i] len in xonlypub randomizer bitflip test
Browse files Browse the repository at this point in the history
  • Loading branch information
siv2r committed Jul 23, 2022
1 parent 8cbf70d commit cc83c32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/extrakeys/batch_add_tests_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ void run_batch_xonlypub_tweak_randomizer_gen_tests(void) {
for (j = 0; j < count; j++) {
batch_xonlypub_tweak_randomizer_gen_bitflip(&sha, args, 0, 32);
batch_xonlypub_tweak_randomizer_gen_bitflip(&sha, args, 1, 1);
batch_xonlypub_tweak_randomizer_gen_bitflip(&sha, args, 2, 32);
batch_xonlypub_tweak_randomizer_gen_bitflip(&sha, args, 3, 33);
batch_xonlypub_tweak_randomizer_gen_bitflip(&sha, args, 2, 33);
batch_xonlypub_tweak_randomizer_gen_bitflip(&sha, args, 3, 32);
}

/* write i-th tweak check data to the sha object
Expand Down

0 comments on commit cc83c32

Please sign in to comment.