mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
json: rename json_tok_bitcoin_amount.
json_tok* is used with 'struct command', so rename this to match the other low-level json tok helpers. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -18,7 +18,7 @@ static void do_json_tok_bitcoin_amount(const char* val, uint64_t expected)
|
||||
|
||||
fprintf(stderr, "do_json_tok_bitcoin_amount(\"%s\", %"PRIu64"): ", val, expected);
|
||||
|
||||
assert(json_tok_bitcoin_amount(val, &tok, &amount) == true);
|
||||
assert(json_to_bitcoin_amount(val, &tok, &amount) == true);
|
||||
assert(amount == expected);
|
||||
|
||||
fprintf(stderr, "ok\n");
|
||||
|
||||
Reference in New Issue
Block a user