| 566 | } |
| 567 | |
| 568 | static bool already_have_node_id(const struct node_id *ids, |
| 569 | const struct node_id *id) |
| 570 | { |
| 571 | for (size_t i = 0; i < tal_count(ids); i++) |
| 572 | if (node_id_eq(&ids[i], id)) |
| 573 | return true; |
| 574 | |
| 575 | return false; |
| 576 | } |
| 577 | |
| 578 | static const struct node_id *random_peers(const tal_t *ctx, |
| 579 | const struct chanbackup *cb) |
no test coverage detected