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 11

handle_send_errorFunction · 0.85
new_channelFunction · 0.85
channel_fail_permFunction · 0.85
channel_fail_forgetFunction · 0.85
connect_activate_subdFunction · 0.85
handle_peer_spokeFunction · 0.85
forget_channelFunction · 0.85
peer_failedFunction · 0.85
negotiation_failedFunction · 0.85
handle_master_inFunction · 0.85

Calls 1

towire_errorfmtvFunction · 0.85

Tested by

no test coverage detected