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

Function wrong_funding_equal

tests/fuzz/fuzz-wire-shutdown.c:29–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29static bool wrong_funding_equal(const struct tlv_shutdown_tlvs_wrong_funding *x,
30 const struct tlv_shutdown_tlvs_wrong_funding *y)
31{
32 if (!x && !y)
33 return true;
34 if (!x || !y)
35 return false;
36
37 return bitcoin_txid_eq(&x->txid, &y->txid) && x->outnum == y->outnum;
38}
39
40static bool equal(const struct shutdown *x, const struct shutdown *y)
41{

Callers 1

equalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected