musig: make key agg test vector more precise

This commit is contained in:
Jonas Nick 2021-07-27 10:06:22 +00:00
parent 5d2df05419
commit a6a768a4bf

View File

@ -1117,7 +1117,7 @@ void musig_test_vectors(void) {
memcpy(pk_ser_tmp[2], pk_ser[1], sizeof(pk_ser_tmp[2]));
memcpy(pk_ser_tmp[3], pk_ser[1], sizeof(pk_ser_tmp[3]));
has_second_pk = 1;
second_pk_idx = 3;
second_pk_idx = 2; /* second_pk_idx = 3 is equally valid */
break;
default:
CHECK(0);