| 6058 | } |
| 6059 | |
| 6060 | struct db_stmt *wallet_offer_id_first(struct wallet *w, struct sha256 *offer_id) |
| 6061 | { |
| 6062 | struct db_stmt *stmt; |
| 6063 | |
| 6064 | stmt = db_prepare_v2(w->db, SQL("SELECT offer_id FROM offers;")); |
| 6065 | db_query_prepared(stmt); |
| 6066 | |
| 6067 | return wallet_offer_id_next(w, stmt, offer_id); |
| 6068 | } |
| 6069 | |
| 6070 | struct db_stmt *wallet_offer_id_next(struct wallet *w, |
| 6071 | struct db_stmt *stmt, |
no test coverage detected