| 248 | } |
| 249 | |
| 250 | static bool map_empty(const struct cannounce_map *map) |
| 251 | { |
| 252 | if (uintmap_empty(&map->map)) { |
| 253 | assert(map->count == 0); |
| 254 | return true; |
| 255 | } |
| 256 | assert(map->count != 0); |
| 257 | return false; |
| 258 | } |
| 259 | |
| 260 | static struct pending_cannounce *map_get(struct cannounce_map *map, |
| 261 | struct short_channel_id scid) |
no outgoing calls
no test coverage detected