| 14 | } |
| 15 | |
| 16 | static bool is_fronting_node(const struct lightningd *ld, |
| 17 | const struct node_id *node) |
| 18 | { |
| 19 | for (size_t i = 0; i < tal_count(ld->fronting_nodes); i++) { |
| 20 | if (node_id_eq(&ld->fronting_nodes[i], node)) |
| 21 | return true; |
| 22 | } |
| 23 | return false; |
| 24 | } |
| 25 | |
| 26 | struct routehint_candidate * |
| 27 | routehint_candidates(const tal_t *ctx, |
no test coverage detected