mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 15:44:21 +01:00
Use global secp256k1_ctx instead of passing it around.
If I'd known how large this patch would be (though trivial), I'd have done it in parts. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -103,7 +103,6 @@ void json_add_hex(struct json_result *result, const char *fieldname,
|
||||
const void *data, size_t len);
|
||||
/* '"fieldname" : "0289abcdef..."' or "0289abcdef..." if fieldname is NULL */
|
||||
void json_add_pubkey(struct json_result *response,
|
||||
secp256k1_context *secpctx,
|
||||
const char *fieldname,
|
||||
const struct pubkey *key);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user