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

Function node_cmp

tests/plugins/channeld_fakenet.c:57–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 return &n->id;
56}
57static bool node_cmp(const struct node *n, const struct node_id *node_id)
58{
59 return node_id_eq(&n->id, node_id);
60}
61HTABLE_DEFINE_NODUPS_TYPE(struct node, node_key, node_id_hash, node_cmp, node_map);
62
63struct info {

Callers

nothing calls this directly

Calls 1

node_id_eqFunction · 0.85

Tested by

no test coverage detected