| 186 | } |
| 187 | |
| 188 | static enum feature_copy_style feature_copy_style(u32 f, enum feature_place p) |
| 189 | { |
| 190 | for (size_t i = 0; i < ARRAY_SIZE(feature_styles); i++) { |
| 191 | if (feature_styles[i].bit == COMPULSORY_FEATURE(f)) |
| 192 | return feature_styles[i].copy_style[p]; |
| 193 | } |
| 194 | abort(); |
| 195 | } |
| 196 | |
| 197 | struct feature_set *feature_set_for_feature(const tal_t *ctx, int feature) |
| 198 | { |
no test coverage detected