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

Function json_add_secret

common/json_stream.c:624–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622}
623
624void json_add_secret(struct json_stream *response, const char *fieldname,
625 const struct secret *secret)
626{
627 json_add_hex(response, fieldname, secret, sizeof(struct secret));
628}
629
630void json_add_sha256(struct json_stream *result, const char *fieldname,
631 const struct sha256 *hash)

Callers 1

json_add_bolt11Function · 0.70

Calls 1

json_add_hexFunction · 0.85

Tested by

no test coverage detected