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

Function feature_copy_style

common/features.c:198–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

feature_set_for_featureFunction · 0.70

Calls 1

abortFunction · 0.85

Tested by

no test coverage detected