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

Function invoice_invreq_id

common/bolt12.c:786–792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

784}
785
786void invoice_invreq_id(const struct tlv_invoice *invoice, struct sha256 *id)
787{
788 u8 *wire = tal_arr(tmpctx, u8, 0);
789
790 towire_tlv_invoice(&wire, invoice);
791 calc_invreq(wire, id);
792}
793
794
795/* 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