| 931 | } |
| 932 | |
| 933 | bool add_unknown_scid(struct seeker *seeker, |
| 934 | const struct short_channel_id *scid, |
| 935 | struct peer *peer) |
| 936 | { |
| 937 | /* Check we're not already getting this one. */ |
| 938 | if (!uintmap_add(&seeker->unknown_scids, scid->u64, true)) |
| 939 | return false; |
| 940 | |
| 941 | set_preferred_peer(seeker, peer); |
| 942 | return true; |
| 943 | } |
| 944 | |
| 945 | /* This peer told us about an update to an unknown channel. Ask it for a |
| 946 | * channel_announcement. */ |
no test coverage detected