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

Function negotiation_failed

openingd/dualopend.c:414–425  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

412
413/*~ For negotiation failures: we tell them the parameter we didn't like. */
414static void negotiation_failed(struct state *state,
415 const char *fmt, ...)
416{
417 va_list ap;
418 const char *errmsg;
419
420 va_start(ap, fmt);
421 errmsg = tal_vfmt(tmpctx, fmt, ap);
422 va_end(ap);
423
424 open_abort(state, "You gave bad parameters: %s", errmsg);
425}
426
427static void billboard_update(struct state *state)
428{

Callers 4

accepter_startFunction · 0.70
opener_startFunction · 0.70
rbf_local_startFunction · 0.70
rbf_remote_startFunction · 0.70

Calls 1

open_abortFunction · 0.85

Tested by

no test coverage detected