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

Function equal

tests/fuzz/fuzz-wire-onion_message.c:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26static bool equal(const struct onion_message *x, const struct onion_message *y)
27{
28 if (memcmp(&x->path_key, &y->path_key, sizeof(x->path_key)) != 0)
29 return false;
30 return tal_arr_eq(x->onionmsg, y->onionmsg);
31}
32
33void run(const u8 *data, size_t size)
34{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected