| 6349 | } |
| 6350 | |
| 6351 | enum offer_status wallet_invoice_request_disable(struct wallet *w, |
| 6352 | const struct sha256 *invreq_id, |
| 6353 | enum offer_status s) |
| 6354 | { |
| 6355 | enum offer_status newstatus; |
| 6356 | |
| 6357 | assert(offer_status_active(s)); |
| 6358 | |
| 6359 | newstatus = offer_status_in_db(s & ~OFFER_STATUS_ACTIVE_F); |
| 6360 | invoice_request_status_update(w->db, invreq_id, s, newstatus); |
| 6361 | |
| 6362 | return newstatus; |
| 6363 | } |
| 6364 | |
| 6365 | void wallet_invoice_request_mark_used(struct db *db, const struct sha256 *invreq_id) |
| 6366 | { |
no test coverage detected