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

Function feature_set_eq

common/test/run-features.c:130–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130static bool feature_set_eq(const struct feature_set *f1,
131 const struct feature_set *f2)
132{
133 /* We assume minimal sizing */
134 for (size_t i = 0; i < ARRAY_SIZE(f1->bits); i++) {
135 if (!tal_arr_eq(f1->bits[i], f2->bits[i]))
136 return false;
137 }
138 return true;
139}
140
141static void test_feature_set_or(void)
142{

Callers 2

test_feature_set_orFunction · 0.85
test_feature_set_subFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected