| 887 | PRINTF_FMT(7, 8); |
| 888 | |
| 889 | static void reconnect(struct important_id *imp) |
| 890 | { |
| 891 | struct wireaddr_internal *addrs; |
| 892 | |
| 893 | addrs = tal_dup_talarr(tmpctx, struct wireaddr_internal, imp->addrs); |
| 894 | |
| 895 | /* Do gossmap lookup to find any addresses from there, and append. */ |
| 896 | append_gossmap_addresses(&addrs, imp->daemon, &imp->id); |
| 897 | |
| 898 | imp->reconnect_timer = NULL; |
| 899 | try_connect_peer(imp->daemon, &imp->id, take(addrs), |
| 900 | "reconnect by timer"); |
| 901 | } |
| 902 | |
| 903 | static void schedule_reconnect_if_important(struct daemon *daemon, |
| 904 | const struct node_id *id) |
nothing calls this directly
no test coverage detected