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

Function towire_warningfmt

common/wire_error.c:62–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62u8 *towire_warningfmt(const tal_t *ctx,
63 const struct channel_id *channel,
64 const char *fmt, ...)
65{
66 va_list ap;
67 u8 *msg;
68
69 va_start(ap, fmt);
70 msg = towire_warningfmtv(ctx, channel, fmt, ap);
71 va_end(ap);
72
73 return msg;
74}
75
76u8 *towire_abortfmtv(const tal_t *ctx,
77 const struct channel_id *channel,

Callers 15

peer_failedFunction · 0.70
handle_onion_messageFunction · 0.50
peer_connectedFunction · 0.50
peer_init_receivedFunction · 0.50
handle_recv_gossipFunction · 0.50
peer_warningFunction · 0.50
append_range_replyFunction · 0.50
sockpairFunction · 0.50

Calls 1

towire_warningfmtvFunction · 0.85

Tested by

no test coverage detected