| 668 | } |
| 669 | |
| 670 | bool |
| 671 | json_tok_channel_id(const char *buffer, const jsmntok_t *tok, |
| 672 | struct channel_id *cid) |
| 673 | { |
| 674 | return hex_decode(buffer + tok->start, tok->end - tok->start, |
| 675 | cid, sizeof(*cid)); |
| 676 | } |
| 677 | |
| 678 | void json_dup_contents(const tal_t *ctx, |
| 679 | const char *buffer, |
no test coverage detected