| 1577 | } |
| 1578 | |
| 1579 | static struct gossmap_chan *chan_iter(const struct gossmap *map, size_t start) |
| 1580 | { |
| 1581 | for (size_t i = start; i < map->num_chan_arr; i++) { |
| 1582 | if (map->chan_arr[i].plus_scid_off != 0) |
| 1583 | return &map->chan_arr[i]; |
| 1584 | } |
| 1585 | return NULL; |
| 1586 | } |
| 1587 | |
| 1588 | struct gossmap_chan *gossmap_first_chan(const struct gossmap *map) |
| 1589 | { |
no outgoing calls
no test coverage detected