| 713 | } |
| 714 | |
| 715 | void offer_offer_id(const struct tlv_offer *offer, struct sha256 *id) |
| 716 | { |
| 717 | u8 *wire = tal_arr(tmpctx, u8, 0); |
| 718 | |
| 719 | towire_tlv_offer(&wire, offer); |
| 720 | calc_offer(wire, id); |
| 721 | } |
| 722 | |
| 723 | void invreq_offer_id(const struct tlv_invoice_request *invreq, struct sha256 *id) |
| 724 | { |
no test coverage detected