| 571 | } |
| 572 | |
| 573 | bool json_to_short_channel_id(const char *buffer, const jsmntok_t *tok, |
| 574 | struct short_channel_id *scid) |
| 575 | { |
| 576 | return (short_channel_id_from_str(buffer + tok->start, |
| 577 | tok->end - tok->start, scid)); |
| 578 | } |
| 579 | |
| 580 | bool json_to_short_channel_id_dir(const char *buffer, const jsmntok_t *tok, |
| 581 | struct short_channel_id_dir *scidd) |