| 6289 | } |
| 6290 | |
| 6291 | enum offer_status wallet_invoice_request_disable(struct wallet *w, |
| 6292 | const struct sha256 *invreq_id, |
| 6293 | enum offer_status s) |
| 6294 | { |
| 6295 | enum offer_status newstatus; |
| 6296 | |
| 6297 | assert(offer_status_active(s)); |
| 6298 | |
| 6299 | newstatus = offer_status_in_db(s & ~OFFER_STATUS_ACTIVE_F); |
| 6300 | invoice_request_status_update(w->db, invreq_id, s, newstatus); |
| 6301 | |
| 6302 | return newstatus; |
| 6303 | } |
| 6304 | |
| 6305 | void wallet_invoice_request_mark_used(struct db *db, const struct sha256 *invreq_id) |
| 6306 | { |
no test coverage detected