| 6312 | } |
| 6313 | |
| 6314 | struct db_stmt *wallet_invreq_id_first(struct wallet *w, struct sha256 *invreq_id) |
| 6315 | { |
| 6316 | struct db_stmt *stmt; |
| 6317 | |
| 6318 | stmt = db_prepare_v2(w->db, SQL("SELECT invreq_id FROM invoicerequests;")); |
| 6319 | db_query_prepared(stmt); |
| 6320 | |
| 6321 | return wallet_invreq_id_next(w, stmt, invreq_id); |
| 6322 | } |
| 6323 | |
| 6324 | struct db_stmt *wallet_invreq_id_next(struct wallet *w, |
| 6325 | struct db_stmt *stmt, |
no test coverage detected