MCPcopy Create free account
hub / github.com/ElementsProject/lightning / json_add_sha256

Function json_add_sha256

common/json_stream.c:630–634  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

628}
629
630void 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
636void json_add_preimage(struct json_stream *result, const char *fieldname,
637 const struct preimage *preimage)

Callers 1

json_add_bolt11Function · 0.70

Calls 1

json_add_hexFunction · 0.85

Tested by

no test coverage detected