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

Function db_fatal

plugins/bkpr/db.c:195–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193#ifndef DB_FATAL
194#define DB_FATAL
195void db_fatal(const char *fmt, ...)
196{
197 va_list ap;
198 va_start(ap, fmt);
199 plugin_errv(plugin, fmt, ap);
200 /* Won't actually exit, but va_end() required to balance va_start in standard. */
201 va_end(ap);
202}
203#endif /* DB_FATAL */
204
205struct db *db_setup(const tal_t *ctx, struct plugin *p,

Callers 3

find_chain_eventsFunction · 0.70
insert_chain_fees_diffFunction · 0.70
db_setupFunction · 0.70

Calls 1

plugin_errvFunction · 0.85

Tested by

no test coverage detected