| 124 | } |
| 125 | |
| 126 | static struct node_map *new_node_map(const tal_t *ctx) |
| 127 | { |
| 128 | struct node_map *map = tal(ctx, struct node_map); |
| 129 | node_map_init(map); |
| 130 | tal_add_destructor(map, node_map_clear); |
| 131 | return map; |
| 132 | } |
| 133 | |
| 134 | /* We use a simple array (with NULL entries) until we have too many. */ |
| 135 | static bool node_uses_chan_map(const struct node *node) |