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

Function invreq_invreq_id

common/bolt12.c:758–764  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

756}
757
758void invreq_invreq_id(const struct tlv_invoice_request *invreq, struct sha256 *id)
759{
760 u8 *wire = tal_arr(tmpctx, u8, 0);
761
762 towire_tlv_invoice_request(&wire, invreq);
763 calc_invreq(wire, id);
764}
765
766void invoice_invreq_id(const struct tlv_invoice *invoice, struct sha256 *id)
767{

Callers 3

mainFunction · 0.85

Calls 2

calc_invreqFunction · 0.85

Tested by

no test coverage detected