| 87 | } |
| 88 | |
| 89 | static void json_add_invoice(struct json_stream *response, |
| 90 | const char *fieldname, |
| 91 | const struct invoice_details *inv) |
| 92 | { |
| 93 | json_object_start(response, fieldname); |
| 94 | json_add_invoice_fields(response, inv); |
| 95 | json_object_end(response); |
| 96 | } |
| 97 | |
| 98 | static struct command_result *tell_waiter(struct command *cmd, u64 inv_dbid) |
| 99 | { |
no test coverage detected