common: hoist param_bitcoin_address where plugins can use it.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2020-08-07 10:51:33 +09:30
parent 6966cf99e1
commit 5e0b03fba9
4 changed files with 33 additions and 33 deletions

View File

@@ -51,11 +51,4 @@ struct command_result *param_feerate(struct command *cmd, const char *name,
bool json_tok_channel_id(const char *buffer, const jsmntok_t *tok,
struct channel_id *cid);
struct command_result *param_bitcoin_address(struct command *cmd,
const char *name,
const char *buffer,
const jsmntok_t *tok,
const u8 **scriptpubkey);
#endif /* LIGHTNING_LIGHTNINGD_JSON_H */