Skip to content

Commit 806de38

Browse files
committed
doc: mention ctx requirement for _ellswift_create (not secp256k1_context_static)
1 parent 03fb60a commit 806de38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/secp256k1_ellswift.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ SECP256K1_API int secp256k1_ellswift_decode(
130130
*
131131
* Returns: 1: secret was valid, public key was stored.
132132
* 0: secret was invalid, try again.
133-
* Args: ctx: pointer to a context object
133+
* Args: ctx: pointer to a context object (not secp256k1_context_static)
134134
* Out: ell64: pointer to a 64-byte array to receive the ElligatorSwift
135135
* public key
136136
* In: seckey32: pointer to a 32-byte secret key

0 commit comments

Comments
 (0)