| 628 | } |
| 629 | |
| 630 | void json_add_sha256(struct json_stream *result, const char *fieldname, |
| 631 | const struct sha256 *hash) |
| 632 | { |
| 633 | json_add_hex(result, fieldname, hash, sizeof(*hash)); |
| 634 | } |
| 635 | |
| 636 | void json_add_preimage(struct json_stream *result, const char *fieldname, |
| 637 | const struct preimage *preimage) |
no test coverage detected