| 5024 | } |
| 5025 | |
| 5026 | struct db_stmt *wallet_offer_id_next(struct wallet *w, |
| 5027 | struct db_stmt *stmt, |
| 5028 | struct sha256 *offer_id) |
| 5029 | { |
| 5030 | if (!db_step(stmt)) |
| 5031 | return tal_free(stmt); |
| 5032 | |
| 5033 | db_col_sha256(stmt, "offer_id", offer_id); |
| 5034 | return stmt; |
| 5035 | } |
| 5036 | |
| 5037 | /* If we make an offer inactive, this also expires all invoices |
| 5038 | * which we issued for it. */ |
no test coverage detected