| 784 | } |
| 785 | |
| 786 | void 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: |
no test coverage detected