| 6068 | } |
| 6069 | |
| 6070 | struct db_stmt *wallet_offer_id_next(struct wallet *w, |
| 6071 | struct db_stmt *stmt, |
| 6072 | struct sha256 *offer_id) |
| 6073 | { |
| 6074 | if (!db_step(stmt)) |
| 6075 | return tal_free(stmt); |
| 6076 | |
| 6077 | db_col_sha256(stmt, "offer_id", offer_id); |
| 6078 | return stmt; |
| 6079 | } |
| 6080 | |
| 6081 | /* If we make an offer inactive, this also expires all invoices |
| 6082 | * which we issued for it. */ |
no test coverage detected