| 776 | } |
| 777 | |
| 778 | void 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 | |
| 786 | void invoice_invreq_id(const struct tlv_invoice *invoice, struct sha256 *id) |
| 787 | { |
no test coverage detected