| 1102 | } |
| 1103 | |
| 1104 | struct gossmap_chan *gossmap_next_chan(const struct gossmap *map, |
| 1105 | struct gossmap_chan *prev) |
| 1106 | { |
| 1107 | return chan_iter(map, prev - map->chan_arr + 1); |
| 1108 | } |
| 1109 | |
| 1110 | bool gossmap_chan_capacity(const struct gossmap_chan *chan, |
| 1111 | int direction, |
no test coverage detected