Skip to content

Commit 9fe8c43

Browse files
committed
fixup! clarify where a previous pubkey_load happened
1 parent dc04a7e commit 9fe8c43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modules/musig/keyagg_impl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ static int secp256k1_musig_pubkey_agg_callback(secp256k1_scalar *sc, secp256k1_g
178178
secp256k1_musig_pubkey_agg_ecmult_data *ctx = (secp256k1_musig_pubkey_agg_ecmult_data *) data;
179179
int ret;
180180
ret = secp256k1_xonly_pubkey_load(ctx->ctx, pt, ctx->pks[idx]);
181-
/* pubkey_load can't fail because the same pks have already been loaded (and
182-
* we test this) */
181+
/* pubkey_load can't fail because the same pks have already been loaded in
182+
* `musig_compute_pk_hash` (and we test this). */
183183
VERIFY_CHECK(ret);
184184
secp256k1_musig_keyaggcoef_internal(sc, ctx->pk_hash, &pt->x, &ctx->second_pk_x);
185185
return 1;

0 commit comments

Comments
 (0)