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

Function wireaddr_int_equals_wireaddr

connectd/connectd.c:1647–1653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1645}
1646
1647static bool wireaddr_int_equals_wireaddr(const struct wireaddr_internal *addr_a,
1648 const struct wireaddr *addr_b)
1649{
1650 if (!addr_a || !addr_b)
1651 return false;
1652 return wireaddr_eq(&addr_a->u.wireaddr, addr_b);
1653}
1654
1655/*~ Adds just one address type.
1656 *

Callers 2

add_gossip_addrs_bytypeFunction · 0.85
add_gossip_addrsFunction · 0.85

Calls 1

wireaddr_eqFunction · 0.85

Tested by

no test coverage detected