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

Function negotiation_failed

openingd/dualopend.c:371–382  ·  view source on GitHub ↗

~ For negotiation failures: we tell them the parameter we didn't like. */

Source from the content-addressed store, hash-verified

369
370/*~ For negotiation failures: we tell them the parameter we didn't like. */
371static void negotiation_failed(struct state *state,
372 const char *fmt, ...)
373{
374 va_list ap;
375 const char *errmsg;
376
377 va_start(ap, fmt);
378 errmsg = tal_vfmt(tmpctx, fmt, ap);
379 va_end(ap);
380
381 open_err_warn(state, "You gave bad parameters: %s", errmsg);
382}
383
384static void billboard_update(struct state *state)
385{

Callers 3

check_balancesFunction · 0.70
accepter_startFunction · 0.70
opener_startFunction · 0.70

Calls 1

open_err_warnFunction · 0.85

Tested by

no test coverage detected