| 1591 | } |
| 1592 | |
| 1593 | struct gossmap_chan *gossmap_next_chan(const struct gossmap *map, |
| 1594 | struct gossmap_chan *prev) |
| 1595 | { |
| 1596 | return chan_iter(map, prev - map->chan_arr + 1); |
| 1597 | } |
| 1598 | |
| 1599 | bool gossmap_chan_has_capacity(const struct gossmap_chan *chan, |
| 1600 | int direction, |
no test coverage detected