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

Function add_result_summary

plugins/xpay/xpay.c:544–557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

542 PRINTF_FMT(3,4);
543
544static void add_result_summary(struct attempt *attempt,
545 enum log_level level,
546 const char *fmt, ...)
547{
548 va_list args;
549 const char *msg;
550
551 va_start(args, fmt);
552 msg = tal_vfmt(tmpctx, fmt, args);
553 va_end(args);
554
555 tal_append_fmt(&attempt->payment->prior_results, "%s. ", msg);
556 attempt_log(attempt, level, "%s", msg);
557}
558
559static const char *describe_scidd(struct attempt *attempt, size_t index)
560{

Callers 1

Calls 2

tal_append_fmtFunction · 0.85
attempt_logFunction · 0.85

Tested by

no test coverage detected