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