Correct `noncefp` to be a pointer in `extraparams` object
This commit is contained in:
parent
37ec59be9e
commit
f9c4f33d4d
|
@ -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;
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue