| 475 | } |
| 476 | |
| 477 | void json_add_short_channel_id(struct json_stream *response, |
| 478 | const char *fieldname, |
| 479 | struct short_channel_id scid) |
| 480 | { |
| 481 | json_add_str_fmt(response, fieldname, "%dx%dx%d", |
| 482 | short_channel_id_blocknum(scid), |
| 483 | short_channel_id_txnum(scid), |
| 484 | short_channel_id_outnum(scid)); |
| 485 | } |
| 486 | |
| 487 | void json_add_short_channel_id_dir(struct json_stream *response, |
| 488 | const char *fieldname, |
no test coverage detected