include_minimal: only invreq_payer_id, invoice_payment_hash, invoice_node_id */
| 92 | |
| 93 | /* include_minimal: only invreq_payer_id, invoice_payment_hash, invoice_node_id */ |
| 94 | static bool include_minimal(const struct tlv_field *f, void *arg UNNEEDED) |
| 95 | { |
| 96 | return f->numtype == TLV_PAYER_PROOF_INVREQ_PAYER_ID |
| 97 | || f->numtype == TLV_PAYER_PROOF_INVOICE_PAYMENT_HASH |
| 98 | || f->numtype == TLV_PAYER_PROOF_INVOICE_FEATURES |
| 99 | || f->numtype == TLV_PAYER_PROOF_INVOICE_NODE_ID; |
| 100 | } |
| 101 | |
| 102 | /* include_amount: invreq_payer_id, invoice_payment_hash, invoice_node_id |
| 103 | * *and* invoice_amount. This demonstrates the case where |