MCPcopy Create free account
hub / github.com/ElementsProject/lightning / acct_db_error

Function acct_db_error

wallet/account_migration.c:344–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342/* end stolen code */
343
344static 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
357void migrate_from_account_db(struct lightningd *ld, struct db *db)
358{

Callers

nothing calls this directly

Calls 2

logvFunction · 0.50
fatal_vfmtFunction · 0.50

Tested by

no test coverage detected