Function to bubble up completions to the root, which actually holds on to * the command that initiated the flow. */
| 1815 | /* Function to bubble up completions to the root, which actually holds on to |
| 1816 | * the command that initiated the flow. */ |
| 1817 | static void payment_child_finished(struct payment *p, |
| 1818 | struct payment *child) |
| 1819 | { |
| 1820 | if (!payment_is_finished(p)) |
| 1821 | return; |
| 1822 | |
| 1823 | /* Should we continue bubbling up? */ |
| 1824 | payment_finished(p); |
| 1825 | } |
| 1826 | |
| 1827 | static void payment_add_attempt(struct json_stream *s, const char *fieldname, struct payment *p, bool recurse) |
| 1828 | { |
no test coverage detected