| 657 | } |
| 658 | |
| 659 | void json_add_sha256(struct json_stream *result, const char *fieldname, |
| 660 | const struct sha256 *hash) |
| 661 | { |
| 662 | json_add_hex(result, fieldname, hash, sizeof(*hash)); |
| 663 | } |
| 664 | |
| 665 | void json_add_preimage(struct json_stream *result, const char *fieldname, |
| 666 | const struct preimage *preimage) |
no test coverage detected