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

Function equal

tests/fuzz/fuzz-wire-error.c:27–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27static bool equal(const struct error *x, const struct error *y)
28{
29 if (!channel_id_eq(&x->channel_id, &y->channel_id))
30 return false;
31 return tal_arr_eq(x->data, y->data);
32}
33
34void run(const u8 *data, size_t size)
35{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected