Skip to content

Commit ef83281

Browse files
authored
Merge pull request bitcoin#656 from real-or-random/patch-1
Fix typo in docs for _context_set_illegal_callback
2 parents 786dfb4 + 556caad commit ef83281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/secp256k1.h

Lines changed: 1 addition & 1 deletion
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)