| 538 | } |
| 539 | |
| 540 | void json_add_address(struct json_stream *response, const char *fieldname, |
| 541 | const struct wireaddr *addr) |
| 542 | { |
| 543 | json_object_start(response, fieldname); |
| 544 | json_add_address_fields(response, addr, "type"); |
| 545 | json_object_end(response); |
| 546 | } |
| 547 | |
| 548 | void json_add_address_internal(struct json_stream *response, |
| 549 | const char *fieldname, |
no test coverage detected