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

Function layer_disables_node

plugins/askrene/layer.c:1379–1387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1377}
1378
1379bool layer_disables_node(const struct layer *layer,
1380 const struct node_id *node)
1381{
1382 for (size_t i = 0; i < tal_count(layer->disabled_nodes); i++) {
1383 if (node_id_eq(&layer->disabled_nodes[i], node))
1384 return true;
1385 }
1386 return false;
1387}

Callers 1

describe_disabledFunction · 0.85

Calls 1

node_id_eqFunction · 0.85

Tested by

no test coverage detected