From b7607f93f23a1a342b4fba552598e2a578f50527 Mon Sep 17 00:00:00 2001 From: Jesse Posner Date: Thu, 1 Sep 2022 22:38:03 -0700 Subject: [PATCH] Fix reference to xonly_tweak_add --- src/modules/musig/musig.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/musig/musig.md b/src/modules/musig/musig.md index 814cdc74..b15cb235 100644 --- a/src/modules/musig/musig.md +++ b/src/modules/musig/musig.md @@ -32,7 +32,7 @@ Essentially, the protocol proceeds in the following steps: 1. Generate a keypair with `secp256k1_keypair_create` and obtain the xonly public key with `secp256k1_keypair_xonly_pub`. 2. Call `secp256k1_musig_pubkey_agg` with the xonly pubkeys of all participants. -3. Optionally add a (Taproot) tweak with `secp256k1_musig_pubkey_tweak_add`. +3. Optionally add a (Taproot) tweak with `secp256k1_musig_pubkey_xonly_tweak_add`. 4. Generate a pair of secret and public nonce with `secp256k1_musig_nonce_gen` and send the public nonce to the other signers. 5. Someone (not necessarily the signer) aggregates the public nonce with `secp256k1_musig_nonce_agg` and sends it to the signers. 6. Process the aggregate nonce with `secp256k1_musig_nonce_process`.