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

Function invoice_invreq_id

common/bolt12.c:766–772  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

764}
765
766void invoice_invreq_id(const struct tlv_invoice *invoice, struct sha256 *id)
767{
768 u8 *wire = tal_arr(tmpctx, u8, 0);
769
770 towire_tlv_invoice(&wire, invoice);
771 calc_invreq(wire, id);
772}
773
774
775/* BOLT #12:

Callers 2

handle_invoiceFunction · 0.85
mainFunction · 0.85

Calls 2

calc_invreqFunction · 0.85
towire_tlv_invoiceFunction · 0.50

Tested by

no test coverage detected