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

Function include_field_fn

plugins/offers_proof.c:137–140  ·  view source on GitHub ↗

Callback for make_unsigned_proof: include field if in include_types array. */

Source from the content-addressed store, hash-verified

135
136/* Callback for make_unsigned_proof: include field if in include_types array. */
137static bool include_field_fn(const struct tlv_field *f, bigsize_t *types)
138{
139 return u64arr_contains(types, f->numtype);
140}
141
142struct one_proof {
143 struct createproof_state *state;

Callers

nothing calls this directly

Calls 1

u64arr_containsFunction · 0.85

Tested by

no test coverage detected