| 2859 | } |
| 2860 | |
| 2861 | bool wallet_invoice_create(struct wallet *wallet, |
| 2862 | struct invoice *pinvoice, |
| 2863 | const struct amount_msat *msat TAKES, |
| 2864 | const struct json_escape *label TAKES, |
| 2865 | u64 expiry, |
| 2866 | const char *b11enc, |
| 2867 | const char *description, |
| 2868 | const u8 *features, |
| 2869 | const struct preimage *r, |
| 2870 | const struct sha256 *rhash, |
| 2871 | const struct sha256 *local_offer_id) |
| 2872 | { |
| 2873 | return invoices_create(wallet->invoices, pinvoice, msat, label, expiry, b11enc, description, features, r, rhash, local_offer_id); |
| 2874 | } |
| 2875 | bool wallet_invoice_find_by_label(struct wallet *wallet, |
| 2876 | struct invoice *pinvoice, |
| 2877 | const struct json_escape *label) |
nothing calls this directly
no test coverage detected