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

Function db_error

wallet/db.c:91–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91static void db_error(struct lightningd *ld, bool fatal, const char *fmt, va_list ap)
92{
93 va_list ap2;
94
95 va_copy(ap2, ap);
96 logv(ld->log, LOG_BROKEN, NULL, true, fmt, ap);
97
98 if (fatal)
99 fatal_vfmt(fmt, ap2);
100 va_end(ap2);
101}
102
103struct db *db_setup(const tal_t *ctx, struct lightningd *ld,
104 const struct ext_key *bip32_base)

Callers

nothing calls this directly

Calls 2

logvFunction · 0.50
fatal_vfmtFunction · 0.50

Tested by

no test coverage detected