| 1597 | } |
| 1598 | |
| 1599 | struct gossmap_chan *gossmap_next_chan(const struct gossmap *map, |
| 1600 | struct gossmap_chan *prev) |
| 1601 | { |
| 1602 | return chan_iter(map, prev - map->chan_arr + 1); |
| 1603 | } |
| 1604 | |
| 1605 | bool gossmap_chan_has_capacity(const struct gossmap_chan *chan, |
| 1606 | int direction, |
no test coverage detected