| 756 | } |
| 757 | |
| 758 | void 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 | |
| 766 | void invoice_invreq_id(const struct tlv_invoice *invoice, struct sha256 *id) |
| 767 | { |
no test coverage detected