MCPcopy Create free account
hub / github.com/ElementsProject/lightning / feature_copy_style

Function feature_copy_style

common/features.c:188–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188static 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
197struct feature_set *feature_set_for_feature(const tal_t *ctx, int feature)
198{

Callers 1

feature_set_for_featureFunction · 0.70

Calls 1

abortFunction · 0.85

Tested by

no test coverage detected