mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
param: upgraded json_tok_bool
Signed-off-by: Mark Beckwith <wythe@intrig.com>
This commit is contained in:
committed by
Rusty Russell
parent
e5918f4e5a
commit
8ebc95b7b0
@@ -42,9 +42,6 @@ bool json_tok_bitcoin_amount(const char *buffer, const jsmntok_t *tok,
|
||||
/* Extract double in range [0.0, 100.0] */
|
||||
bool json_tok_percent(const char *buffer, const jsmntok_t *tok, double *num);
|
||||
|
||||
/* Extract boolean this (must be a true or false) */
|
||||
bool json_tok_bool(const char *buffer, const jsmntok_t *tok, bool *b);
|
||||
|
||||
/* Extract sha256 hash */
|
||||
bool json_tok_sha256(const char *buffer, const jsmntok_t * tok,
|
||||
struct sha256 *hash);
|
||||
|
||||
Reference in New Issue
Block a user