| 542 | PRINTF_FMT(3,4); |
| 543 | |
| 544 | static 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 | |
| 559 | static const char *describe_scidd(struct attempt *attempt, size_t index) |
| 560 | { |
no test coverage detected