| 5186 | } |
| 5187 | |
| 5188 | void wallet_datastore_remove(struct wallet *w, const char **key) |
| 5189 | { |
| 5190 | struct db_stmt *stmt; |
| 5191 | |
| 5192 | stmt = db_prepare_v2(w->db, SQL("DELETE FROM datastore" |
| 5193 | " WHERE key = ?")); |
| 5194 | db_bind_datastore_key(stmt, 0, key); |
| 5195 | db_exec_prepared_v2(take(stmt)); |
| 5196 | } |
| 5197 | |
| 5198 | struct db_stmt *wallet_datastore_first(const tal_t *ctx, |
| 5199 | struct wallet *w, |
no test coverage detected