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

Function notify

closingd/closingd.c:37–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35#define HSM_FD 4
36
37static void notify(enum log_level level, const char *fmt, ...)
38{
39 va_list ap;
40
41 va_start(ap, fmt);
42 wire_sync_write(REQ_FD,
43 take(towire_closingd_notification(NULL,
44 level,
45 tal_vfmt(tmpctx, fmt,
46 ap))));
47
48 va_end(ap);
49}
50
51static struct bitcoin_tx *close_tx(const tal_t *ctx,
52 const struct chainparams *chainparams,

Callers 2

send_offerFunction · 0.70
receive_offerFunction · 0.70

Calls 1

wire_sync_writeFunction · 0.50

Tested by

no test coverage detected