| 1088 | } |
| 1089 | |
| 1090 | static struct gossmap_chan *chan_iter(const struct gossmap *map, size_t start) |
| 1091 | { |
| 1092 | for (size_t i = start; i < map->num_chan_arr; i++) { |
| 1093 | if (map->chan_arr[i].plus_scid_off != 0) |
| 1094 | return &map->chan_arr[i]; |
| 1095 | } |
| 1096 | return NULL; |
| 1097 | } |
| 1098 | |
| 1099 | struct gossmap_chan *gossmap_first_chan(const struct gossmap *map) |
| 1100 | { |
no outgoing calls
no test coverage detected