Skip to content

Commit

Permalink
fixup! mention location of keysort vectors
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasnick committed Jan 20, 2023
1 parent 59b76d3 commit 64d65b0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
11 changes: 10 additions & 1 deletion contrib/musig2-vectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,16 @@ def finish_init():
return "};\n"


s = "/* Automatically generated by %s */\n" % sys.argv[0]
s = (
"""/**
* Automatically generated by %s.
*
* The test vectors for the KeySort function are included in this file. They can
* be found in src/modules/extrakeys/tests_impl.h. */
"""
% sys.argv[0]
)


s += """
enum MUSIG_ERROR {
Expand Down
6 changes: 5 additions & 1 deletion src/modules/musig/vectors.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
/* Automatically generated by contrib/musig2-vectors.py */
/**
* Automatically generated by contrib/musig2-vectors.py.
*
* The test vectors for the KeySort function are included in this file. They can
* be found in src/modules/extrakeys/tests_impl.h. */

enum MUSIG_ERROR {
MUSIG_PUBKEY,
Expand Down

0 comments on commit 64d65b0

Please sign in to comment.