| 6403 | } |
| 6404 | |
| 6405 | static void db_datastore_create(struct db *db, const char **key, const u8 *data) |
| 6406 | { |
| 6407 | struct db_stmt *stmt; |
| 6408 | |
| 6409 | stmt = db_prepare_v2(db, |
| 6410 | SQL("INSERT INTO datastore VALUES (?, ?, 0);")); |
| 6411 | |
| 6412 | db_bind_datastore_key(stmt, key); |
| 6413 | db_bind_talarr(stmt, data); |
| 6414 | db_exec_prepared_v2(take(stmt)); |
| 6415 | } |
| 6416 | |
| 6417 | void wallet_datastore_create(struct wallet *w, const char **key, const u8 *data) |
| 6418 | { |
no test coverage detected