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

Function invreq_invreq_id

common/bolt12.c:778–784  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

776}
777
778void invreq_invreq_id(const struct tlv_invoice_request *invreq, struct sha256 *id)
779{
780 u8 *wire = tal_arr(tmpctx, u8, 0);
781
782 towire_tlv_invoice_request(&wire, invreq);
783 calc_invreq(wire, id);
784}
785
786void invoice_invreq_id(const struct tlv_invoice *invoice, struct sha256 *id)
787{

Callers 3

mainFunction · 0.85

Calls 2

calc_invreqFunction · 0.85

Tested by

no test coverage detected