| 1859 | } |
| 1860 | |
| 1861 | static void payment_json_add_attempts(struct json_stream *s, |
| 1862 | const char *fieldname, struct payment *p) |
| 1863 | { |
| 1864 | assert(p == payment_root(p)); |
| 1865 | json_array_start(s, fieldname); |
| 1866 | payment_add_attempt(s, NULL, p, true); |
| 1867 | json_array_end(s); |
| 1868 | } |
| 1869 | |
| 1870 | static void payment_notify_failure(struct payment *p, const char *error_message) |
| 1871 | { |
no test coverage detected