| 6289 | } |
| 6290 | |
| 6291 | struct db_stmt *wallet_invreq_id_first(struct wallet *w, struct sha256 *invreq_id) |
| 6292 | { |
| 6293 | struct db_stmt *stmt; |
| 6294 | |
| 6295 | stmt = db_prepare_v2(w->db, SQL("SELECT invreq_id FROM invoicerequests;")); |
| 6296 | db_query_prepared(stmt); |
| 6297 | |
| 6298 | return wallet_invreq_id_next(w, stmt, invreq_id); |
| 6299 | } |
| 6300 | |
| 6301 | struct db_stmt *wallet_invreq_id_next(struct wallet *w, |
| 6302 | struct db_stmt *stmt, |
no test coverage detected