Merge BlockstreamResearch/secp256k1-zkp#364: Upstream PRs 1854
af1fdd1215tests: compare full MuSig aggregate nonce (w0xlt) Pull request description: This PR has been created by a GitHub Actions workflow without human involvement. [bitcoin-core/secp256k1#1854]: tests: compare full MuSig aggregate nonce Tips: * Use `git show --remerge-diff <pr-branch>` to show the conflict resolution in the merge commit. * Use `git read-tree --reset -u <pr-branch>` to replay these resolutions during the conflict resolution stage when recreating the PR branch locally. Be aware that this may discard your index as well as the uncommitted changes and untracked files in your worktree. ACKs for top commit: mllwchrry: ACK8363a2dTree-SHA512: 55406814de269c612159922ae521dd874887107ee9bd26cff81e2e2cca28ade74a0609e5c48e25a7d9913698899da146aef8b3eebf96e5ad70933a884d75a655
This commit is contained in:
@@ -1010,7 +1010,7 @@ static void musig_test_vectors_nonceagg(void) {
|
||||
}
|
||||
CHECK(secp256k1_musig_nonce_agg(CTX, &aggnonce, pubnonce_ptr, 2));
|
||||
CHECK(secp256k1_musig_aggnonce_serialize(CTX, aggnonce66, &aggnonce));
|
||||
CHECK(secp256k1_memcmp_var(aggnonce66, c->expected, 33) == 0);
|
||||
CHECK(secp256k1_memcmp_var(aggnonce66, c->expected, sizeof(aggnonce66)) == 0);
|
||||
}
|
||||
for (i = 0; i < ARRAY_SIZE(vector->error_case); i++) {
|
||||
const struct musig_nonce_agg_test_case *c = &vector->error_case[i];
|
||||
|
||||
Reference in New Issue
Block a user