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

Function dummy_hash

common/bolt12_proof.c:49–54  ·  view source on GitHub ↗

If we've failed to parse but need to produce a hash */

Source from the content-addressed store, hash-verified

47
48/* If we've failed to parse but need to produce a hash */
49static struct sha256 dummy_hash(void)
50{
51 struct sha256 hash;
52 memset(hash.u.u8, 1, ARRAY_SIZE(hash.u.u8));
53 return hash;
54}
55
56struct tlv_payer_proof *make_unsigned_proof_(const tal_t *ctx,
57 const struct tlv_invoice *inv,

Callers 2

get_leaf_hashFunction · 0.85
resolve_omittedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected