| 5014 | } |
| 5015 | |
| 5016 | struct db_stmt *wallet_offer_id_first(struct wallet *w, struct sha256 *offer_id) |
| 5017 | { |
| 5018 | struct db_stmt *stmt; |
| 5019 | |
| 5020 | stmt = db_prepare_v2(w->db, SQL("SELECT offer_id FROM offers;")); |
| 5021 | db_query_prepared(stmt); |
| 5022 | |
| 5023 | return wallet_offer_id_next(w, stmt, offer_id); |
| 5024 | } |
| 5025 | |
| 5026 | struct db_stmt *wallet_offer_id_next(struct wallet *w, |
| 5027 | struct db_stmt *stmt, |
no test coverage detected