| 6252 | } |
| 6253 | |
| 6254 | struct db_stmt *wallet_invreq_id_first(struct wallet *w, struct sha256 *invreq_id) |
| 6255 | { |
| 6256 | struct db_stmt *stmt; |
| 6257 | |
| 6258 | stmt = db_prepare_v2(w->db, SQL("SELECT invreq_id FROM invoicerequests;")); |
| 6259 | db_query_prepared(stmt); |
| 6260 | |
| 6261 | return wallet_invreq_id_next(w, stmt, invreq_id); |
| 6262 | } |
| 6263 | |
| 6264 | struct db_stmt *wallet_invreq_id_next(struct wallet *w, |
| 6265 | struct db_stmt *stmt, |
no test coverage detected