mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 15:44:21 +01:00
json: add a param parser for a txid
This commit is contained in:
committed by
Rusty Russell
parent
c40250ad0b
commit
a4a193840f
@@ -54,6 +54,9 @@ struct command_result *param_pubkey(struct command *cmd, const char *name,
|
||||
const char *buffer, const jsmntok_t *tok,
|
||||
struct pubkey **pubkey);
|
||||
|
||||
struct command_result *param_txid(struct command *cmd, const char *name,
|
||||
const char *buffer, const jsmntok_t *tok,
|
||||
struct bitcoin_txid **txid);
|
||||
/* Makes sure *id is valid. */
|
||||
struct command_result *param_node_id(struct command *cmd,
|
||||
const char *name,
|
||||
|
||||
Reference in New Issue
Block a user