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

Function find_custom_msg

connectd/multiplex.c:1000–1007  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

998}
999
1000static bool find_custom_msg(const u16 *custom_msgs, u16 type)
1001{
1002 for (size_t i = 0; i < tal_count(custom_msgs); i++) {
1003 if (custom_msgs[i] == type)
1004 return true;
1005 }
1006 return false;
1007}
1008
1009static bool handle_custommsg(struct daemon *daemon,
1010 struct peer *peer,

Callers 1

handle_custommsgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected