| 450 | } |
| 451 | |
| 452 | void json_add_short_channel_id(struct json_stream *response, |
| 453 | const char *fieldname, |
| 454 | const struct short_channel_id *scid) |
| 455 | { |
| 456 | json_add_str_fmt(response, fieldname, "%dx%dx%d", |
| 457 | short_channel_id_blocknum(scid), |
| 458 | short_channel_id_txnum(scid), |
| 459 | short_channel_id_outnum(scid)); |
| 460 | } |
| 461 | |
| 462 | void json_add_address(struct json_stream *response, const char *fieldname, |
| 463 | const struct wireaddr *addr) |
no test coverage detected