| 6380 | } |
| 6381 | |
| 6382 | static void db_datastore_create(struct db *db, const char **key, const u8 *data) |
| 6383 | { |
| 6384 | struct db_stmt *stmt; |
| 6385 | |
| 6386 | stmt = db_prepare_v2(db, |
| 6387 | SQL("INSERT INTO datastore VALUES (?, ?, 0);")); |
| 6388 | |
| 6389 | db_bind_datastore_key(stmt, key); |
| 6390 | db_bind_talarr(stmt, data); |
| 6391 | db_exec_prepared_v2(take(stmt)); |
| 6392 | } |
| 6393 | |
| 6394 | void wallet_datastore_create(struct wallet *w, const char **key, const u8 *data) |
| 6395 | { |
no test coverage detected