| 1881 | } |
| 1882 | |
| 1883 | static void channel_watch_inflight(struct lightningd *ld, |
| 1884 | struct channel *channel, |
| 1885 | struct channel_inflight *inflight) |
| 1886 | { |
| 1887 | /* FIXME: Remove arg from cb? */ |
| 1888 | watch_txid(channel, ld->topology, channel, |
| 1889 | &inflight->funding->outpoint.txid, funding_depth_cb); |
| 1890 | watch_txo(channel, ld->topology, channel, |
| 1891 | &inflight->funding->outpoint, |
| 1892 | funding_spent); |
| 1893 | } |
| 1894 | |
| 1895 | static void json_add_peer(struct lightningd *ld, |
| 1896 | struct json_stream *response, |
no test coverage detected