Skip to content

Commit 556caad

Browse files
Fix typo in docs for _context_set_illegal_callback
1 parent 786dfb4 commit 556caad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/secp256k1.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ SECP256K1_API void secp256k1_context_destroy(
258258
* - void secp256k1_default_error_callback_fn(const char* message, void* data);
259259
* The library can call these default handlers even before a proper callback data
260260
* pointer could have been set using secp256k1_context_set_illegal_callback or
261-
* secp256k1_context_set_illegal_callback, e.g., when the creation of a context
261+
* secp256k1_context_set_error_callback, e.g., when the creation of a context
262262
* fails. In this case, the corresponding default handler will be called with
263263
* the data pointer argument set to NULL.
264264
*

0 commit comments

Comments
 (0)