Files
heartwood/radicle-cli
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-12 16:10:45 +01:00
2024-01-12 16:21:49 +01:00
2024-01-12 13:24:11 +01:00
2023-12-04 11:11:36 +00:00