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

Function opt_set_features

devtools/gossipwith.c:319–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317}
318
319static char *opt_set_features(const char *arg, u8 **features)
320{
321 *features = tal_hexdata(tal_parent(*features), arg, strlen(arg));
322 if (!*features)
323 return "features must be valid hex";
324 return NULL;
325}
326
327static char *opt_set_filter(const char *arg, u16 **accept)
328{

Callers

nothing calls this directly

Calls 2

tal_hexdataFunction · 0.85
tal_parentFunction · 0.85

Tested by

no test coverage detected