From 556caad2ca23f8a5796f2ca1637ab34d02376859 Mon Sep 17 00:00:00 2001 From: Tim Ruffing Date: Fri, 9 Aug 2019 11:25:09 +0200 Subject: [PATCH] Fix typo in docs for _context_set_illegal_callback --- include/secp256k1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/secp256k1.h b/include/secp256k1.h index 0875a0273e..fc27626dd8 100644 --- a/include/secp256k1.h +++ b/include/secp256k1.h @@ -258,7 +258,7 @@ SECP256K1_API void secp256k1_context_destroy( * - void secp256k1_default_error_callback_fn(const char* message, void* data); * The library can call these default handlers even before a proper callback data * pointer could have been set using secp256k1_context_set_illegal_callback or - * secp256k1_context_set_illegal_callback, e.g., when the creation of a context + * secp256k1_context_set_error_callback, e.g., when the creation of a context * fails. In this case, the corresponding default handler will be called with * the data pointer argument set to NULL. *