| 566 | } |
| 567 | |
| 568 | bool json_to_short_channel_id(const char *buffer, const jsmntok_t *tok, |
| 569 | struct short_channel_id *scid) |
| 570 | { |
| 571 | return (short_channel_id_from_str(buffer + tok->start, |
| 572 | tok->end - tok->start, scid)); |
| 573 | } |
| 574 | |
| 575 | bool json_to_txid(const char *buffer, const jsmntok_t *tok, |
| 576 | struct bitcoin_txid *txid) |