Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
radicle: Remove unnecessary clone()
Matthias Beyer committed 7 months ago
commit 7f2ed634b238e004c8c9fab7baf431bb48ac1305
parent 0b6c0bd6d9ac7312a7fae882a6ded6040c92cf18
1 file changed +1 -1
modified crates/radicle/src/node/config.rs
@@ -496,7 +496,7 @@ impl Config {
    }

    pub fn peers(&self) -> impl Iterator<Item = NodeId> + '_ {
-
        self.connect.iter().cloned().map(|p| p.id)
+
        self.connect.iter().map(|p| p.0.id)
    }

    pub fn is_persistent(&self, id: &NodeId) -> bool {