| 831 | PRINTF_FMT(7, 8); |
| 832 | |
| 833 | static void reconnect(struct important_id *imp) |
| 834 | { |
| 835 | struct wireaddr_internal *addrs; |
| 836 | |
| 837 | addrs = tal_dup_talarr(tmpctx, struct wireaddr_internal, imp->addrs); |
| 838 | |
| 839 | /* Do gossmap lookup to find any addresses from there, and append. */ |
| 840 | append_gossmap_addresses(&addrs, imp->daemon, &imp->id); |
| 841 | |
| 842 | imp->reconnect_timer = NULL; |
| 843 | try_connect_peer(imp->daemon, &imp->id, take(addrs), |
| 844 | "reconnect by timer"); |
| 845 | } |
| 846 | |
| 847 | static void schedule_reconnect_if_important(struct daemon *daemon, |
| 848 | const struct node_id *id) |
nothing calls this directly
no test coverage detected