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

Function daddr_cmp

lightningd/peer_control.c:1733–1738  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1731};
1732
1733static int daddr_cmp(const struct discovered_addr *a,
1734 const struct discovered_addr *b,
1735 void *unused)
1736{
1737 return wireaddr_cmp_type(&a->addr, &b->addr, NULL);
1738}
1739
1740static const struct wireaddr *best_remote_addr(const tal_t *ctx,
1741 struct lightningd *ld,

Callers

nothing calls this directly

Calls 1

wireaddr_cmp_typeFunction · 0.85

Tested by

no test coverage detected