Skip to content

Commit a49168e

Browse files
committed
fixup! location of example file
1 parent 9fe8c43 commit a49168e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/secp256k1_musig.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ extern "C" {
1313
* (https://eprint.iacr.org/2020/1261, see Appendix B for the exact variant).
1414
* Signatures are compatible with BIP-340 ("Schnorr").
1515
* There's an example C source file in the module's directory
16-
* (src/modules/musig/example.c) that demonstrates how it can be used.
16+
* (examples/musig.c) that demonstrates how it can be used.
1717
*
1818
* The module also supports BIP-341 ("Taproot") public key tweaking and adaptor
1919
* signatures as described in

src/modules/musig/musig.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Notes on the musig module API
22
===========================
33

44
The following sections contain additional notes on the API of the musig module (`include/secp256k1_musig.h`).
5-
A usage example can be found in `src/modules/musig/example.c`.
5+
A usage example can be found in `examples/musig.c`.
66

77
# API misuse
88

@@ -27,7 +27,7 @@ A (Taproot) tweak can be added to the resulting public key with `secp256k1_xonly
2727

2828
# Signing
2929

30-
This is covered by `src/modules/musig/example.c`.
30+
This is covered by `examples/musig.c`.
3131
Essentially, the protocol proceeds in the following steps:
3232

3333
1. Generate a keypair with `secp256k1_keypair_create` and obtain the xonly public key with `secp256k1_keypair_xonly_pub`.

0 commit comments

Comments
 (0)