Skip to content

Commit cf14177

Browse files
Update examples/musig.c
Co-authored-by: Tim Ruffing <[email protected]>
1 parent e4ec41a commit cf14177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/musig.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ int sign(const secp256k1_context* ctx, struct signer_secrets *signer_secrets, st
190190
}
191191
printf("ok\n");
192192
printf("Combining public keys...");
193+
/* If you just want to aggregate and not sign the cache can be NULL */
193194
if (!secp256k1_musig_pubkey_agg(ctx, NULL, &agg_pk, &cache, pubkeys_ptr, N_SIGNERS)) {
194-
/* If you just want to aggregate and not sign the cache can be NULL */
195195
printf("FAILED\n");
196196
return 1;
197197
}

0 commit comments

Comments
 (0)