| 2108 | } |
| 2109 | |
| 2110 | static void payment_json_add_attempts(struct json_stream *s, |
| 2111 | const char *fieldname, struct payment *p) |
| 2112 | { |
| 2113 | assert(p == payment_root(p)); |
| 2114 | json_array_start(s, fieldname); |
| 2115 | payment_add_attempt(s, NULL, p, true); |
| 2116 | json_array_end(s); |
| 2117 | } |
| 2118 | |
| 2119 | static void payment_failure_notify_core(struct payment *p, |
| 2120 | struct json_stream *n, |
no test coverage detected