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

Function find_custom_msg

connectd/multiplex.c:904–911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

902}
903
904static bool find_custom_msg(const u16 *custom_msgs, u16 type)
905{
906 for (size_t i = 0; i < tal_count(custom_msgs); i++) {
907 if (custom_msgs[i] == type)
908 return true;
909 }
910 return false;
911}
912
913static bool handle_custommsg(struct daemon *daemon,
914 struct peer *peer,

Callers 1

handle_custommsgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected