Files
heartwood/radicle-cli/src
Fintan Halpenny b6d8bc9489 cli: fix check for synced replicas
If the expected replica count had exceeded the amount of seeds already
synced with the following message would appear:

    Not connected to any seeds for {rid}.

This is not true, since there are seeds that were already synced.

This is fixed by calculating the `synced` and `connected` nodes,
without the local peer in the set. This means that the check for
`synced.len() >= connected.len()` will get a hit and the function will
correctly return early.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2024-01-12 16:21:49 +01:00
..
2024-01-04 11:49:01 +01:00
2024-01-09 13:44:46 +01:00
2023-12-11 12:04:26 +01:00
2023-12-19 14:19:55 +01:00
2023-12-11 12:04:26 +01:00
2024-01-10 16:03:14 +01:00
2023-11-03 14:20:16 +01:00
2024-01-12 11:20:42 +01:00