json: Rename json_tok_address_scriptpubkey to json_to_address_scriptpubkey

Our json naming style is like `json_to_***`.
This commit is contained in:
trueptolemy
2019-10-06 20:12:41 +08:00
committed by neil saitug
parent c6a4bac8b6
commit 7db3f1b8a6
5 changed files with 20 additions and 20 deletions

View File

@@ -196,7 +196,7 @@ enum address_parse_result {
/* Return result of address parsing and fills in *scriptpubkey
* allocated off ctx if ADDRESS_PARSE_SUCCESS
*/
enum address_parse_result json_tok_address_scriptpubkey(const tal_t *ctx,
enum address_parse_result json_to_address_scriptpubkey(const tal_t *ctx,
const struct chainparams *chainparams,
const char *buffer,
const jsmntok_t *tok, const u8 **scriptpubkey);