| 77 | } |
| 78 | |
| 79 | static void json_add_invoice(struct json_stream *response, |
| 80 | const char *fieldname, |
| 81 | const struct invoice_details *inv) |
| 82 | { |
| 83 | json_object_start(response, fieldname); |
| 84 | json_add_invoice_fields(response, inv); |
| 85 | json_object_end(response); |
| 86 | } |
| 87 | |
| 88 | static struct command_result *tell_waiter(struct command *cmd, |
| 89 | const struct invoice *inv) |
no test coverage detected