| 196 | } |
| 197 | |
| 198 | static enum feature_copy_style feature_copy_style(u32 f, enum feature_place p) |
| 199 | { |
| 200 | for (size_t i = 0; i < ARRAY_SIZE(feature_styles); i++) { |
| 201 | if (feature_styles[i].bit == COMPULSORY_FEATURE(f)) |
| 202 | return feature_styles[i].copy_style[p]; |
| 203 | } |
| 204 | abort(); |
| 205 | } |
| 206 | |
| 207 | struct feature_set *feature_set_for_feature(const tal_t *ctx, int feature) |
| 208 | { |
no test coverage detected