Correct `noncefp` to be a pointer in `extraparams` object

This commit is contained in:
Gruruya 2023-04-04 04:05:40 -04:00
parent 37ec59be9e
commit f9c4f33d4d
2 changed files with 2 additions and 2 deletions

View File

@ -451,7 +451,7 @@ type
## pointer to 32-byte auxiliary randomness as per BIP-340.
##
magic*: array[4, uint8]
noncefp*: secp256k1_nonce_function_hardened
noncefp*: ptr secp256k1_nonce_function_hardened
ndata*: pointer
proc secp256k1_schnorrsig_sign32*(ctx: ptr secp256k1_context;

View File

@ -65,7 +65,7 @@ suite "secp256k1":
verify(sig3, msg0, pk)
verify(sig4, msg2, pk)
verify(sig5, msg0, pk)
verify(sig6, msg0, pk)
sig5 == sig6
test "Message":
check: