| 561 | } |
| 562 | |
| 563 | bool json_to_sat_or_all(const char *buffer, const jsmntok_t *tok, |
| 564 | struct amount_sat *sat) |
| 565 | { |
| 566 | if (json_tok_streq(buffer, tok, "all")) { |
| 567 | *sat = AMOUNT_SAT(-1ULL); |
| 568 | return true; |
| 569 | } |
| 570 | return json_to_sat(buffer, tok, sat); |
| 571 | } |
| 572 | |
| 573 | bool json_to_short_channel_id(const char *buffer, const jsmntok_t *tok, |
| 574 | struct short_channel_id *scid) |
no test coverage detected