param: upgraded json_tok_newaddr

Made it a local static since its a one-off.

Signed-off-by: Mark Beckwith <wythe@intrig.com>
This commit is contained in:
Mark Beckwith
2018-08-14 12:52:42 -05:00
committed by Rusty Russell
parent 947752b9cc
commit 2a0c2601c0
5 changed files with 23 additions and 20 deletions

View File

@@ -95,8 +95,6 @@ json_tok_address_scriptpubkey(const tal_t *ctx,
const char *buffer,
const jsmntok_t *tok, const u8 **scriptpubkey);
bool json_tok_newaddr(const char *buffer, const jsmntok_t *tok, bool *is_p2wpkh);
/* Parse the satoshi token in wallet_tx. */
bool json_tok_wtx(struct wallet_tx * tx, const char * buffer,
const jsmntok_t * sattok, u64 max);