| 342 | /* end stolen code */ |
| 343 | |
| 344 | static void acct_db_error(struct lightningd *ld, bool fatal, const char *fmt, va_list ap) |
| 345 | { |
| 346 | va_list ap2; |
| 347 | |
| 348 | fmt = tal_fmt(tmpctx, "bookkeper migration: %s", fmt); |
| 349 | va_copy(ap2, ap); |
| 350 | logv(ld->log, LOG_BROKEN, NULL, true, fmt, ap); |
| 351 | |
| 352 | if (fatal) |
| 353 | fatal_vfmt(fmt, ap2); |
| 354 | va_end(ap2); |
| 355 | } |
| 356 | |
| 357 | void migrate_from_account_db(struct lightningd *ld, struct db *db) |
| 358 | { |
nothing calls this directly
no test coverage detected