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

Function towire_errorfmt

common/wire_error.c:25–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25u8 *towire_errorfmt(const tal_t *ctx,
26 const struct channel_id *channel,
27 const char *fmt, ...)
28{
29 va_list ap;
30 u8 *msg;
31
32 va_start(ap, fmt);
33 msg = towire_errorfmtv(ctx, channel, fmt, ap);
34 va_end(ap);
35
36 return msg;
37}
38
39u8 *towire_warningfmtv(const tal_t *ctx,
40 const struct channel_id *channel,

Callers 6

peer_failedFunction · 0.70
handle_send_errorFunction · 0.50
negotiation_failedFunction · 0.50
opening_negotiate_msgFunction · 0.50
handle_master_inFunction · 0.50
opening_negotiate_msgFunction · 0.50

Calls 1

towire_errorfmtvFunction · 0.85

Tested by

no test coverage detected